<!-- HTML header for doxygen 1.9.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.6"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>COMMONS-NET: commonsNet.nntp.NNTPClient类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
  $(document).ready(function() { init_search(); });
/* @license-end */
</script>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">COMMONS-NET
   </div>
  </td>
    <td>        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <span id="MSearchSelect"                onmouseover="return searchBox.OnSearchSelectShow()"                onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
          <input type="text" id="MSearchField" value="" placeholder="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
          </span>
        </div>
</td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.6 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('classcommonsNet_1_1nntp_1_1NNTPClient.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pac-methods">包函数</a> &#124;
<a href="#pri-methods">Private 成员函数</a> &#124;
<a href="classcommonsNet_1_1nntp_1_1NNTPClient-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">commonsNet.nntp.NNTPClient类 参考</div></div>
</div><!--header-->
<div class="contents">

<p>NNTPClient封装了在NNTP服务器发布和检索文章所需的所有功能。  
 <a href="classcommonsNet_1_1nntp_1_1NNTPClient.html#details">更多...</a></p>
<div class="dynheader">
类 commonsNet.nntp.NNTPClient 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classcommonsNet_1_1nntp_1_1NNTPClient.png" usemap="#commonsNet.nntp.NNTPClient_map" alt=""/>
  <map id="commonsNet.nntp.NNTPClient_map" name="commonsNet.nntp.NNTPClient_map">
<area href="classcommonsNet_1_1nntp_1_1NNTP.html" title="NNTP的基本功能。" alt="commonsNet.nntp.NNTP" shape="rect" coords="0,56,180,80"/>
<area href="classcommonsNet_1_1SocketClient.html" title="SocketClient类提供客户端对象访问套接字所需的基本操作。打开套接字、关闭套接字、设置超时等。" alt="commonsNet.SocketClient" shape="rect" coords="0,0,180,24"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a2251ba755688ea3cad408a6ad8fdea17"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#a2251ba755688ea3cad408a6ad8fdea17">authenticate</a> (user: String, password: String): Bool</td></tr>
<tr class="memdesc:a2251ba755688ea3cad408a6ad8fdea17"><td class="mdescLeft">&#160;</td><td class="mdescRight">通过发送AUTHINFO USER/AUTHINFO PASS命令序列登录新闻服务器。通常是为了NNTP服务器响应的480回复代码而发送。  <br /></td></tr>
<tr class="separator:a2251ba755688ea3cad408a6ad8fdea17"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac12775d28036c600b685a63212fb5f0a"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#ac12775d28036c600b685a63212fb5f0a">completePendingCommand</a> (): Bool</td></tr>
<tr class="memdesc:ac12775d28036c600b685a63212fb5f0a"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收当前命令的响应信息。  <br /></td></tr>
<tr class="separator:ac12775d28036c600b685a63212fb5f0a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a90e911ae6fb6047c0452715f388f01c9"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#a90e911ae6fb6047c0452715f388f01c9">forwardArticle</a> (articleId: String): ?<a class="el" href="classcommonsNet_1_1io_1_1DotTerminatedMessageWriter.html">DotTerminatedMessageWriter</a>&lt;StreamingSocket&gt;</td></tr>
<tr class="separator:a90e911ae6fb6047c0452715f388f01c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a572c2d4467d22e9b8f03d99ace453cd0"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#a572c2d4467d22e9b8f03d99ace453cd0">iterateArticleInfo</a> (lowArticleNumber: Int64, highArticleNumber: Int64): Iterable&lt;<a class="el" href="classcommonsNet_1_1nntp_1_1Article.html">Article</a>&gt;</td></tr>
<tr class="memdesc:a572c2d4467d22e9b8f03d99ace453cd0"><td class="mdescLeft">&#160;</td><td class="mdescRight">使用XOVER命令返回lowArticleNumber和highArticleNumber之间（包括在内）的所有项目的article headers。  <br /></td></tr>
<tr class="separator:a572c2d4467d22e9b8f03d99ace453cd0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e4bacc1c09feb725075c2c98dd30f38"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#a2e4bacc1c09feb725075c2c98dd30f38">iterateNewNews</a> (query: <a class="el" href="classcommonsNet_1_1nntp_1_1NewGroupsOrNewsQuery.html">NewGroupsOrNewsQuery</a>): Iterable&lt;String&gt;</td></tr>
<tr class="memdesc:a2e4bacc1c09feb725075c2c98dd30f38"><td class="mdescLeft">&#160;</td><td class="mdescRight">使用“NEWNEWS”命令，根据指定查询的条件，列出自特定日期以来添加到NNTP服务器的所有新文章。  <br /></td></tr>
<tr class="separator:a2e4bacc1c09feb725075c2c98dd30f38"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7c0d2c66df98519e3ac545c635b43e61"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#a7c0d2c66df98519e3ac545c635b43e61">iterateNewNewsgroupListing</a> (query: <a class="el" href="classcommonsNet_1_1nntp_1_1NewGroupsOrNewsQuery.html">NewGroupsOrNewsQuery</a>): Iterable&lt;String&gt;</td></tr>
<tr class="memdesc:a7c0d2c66df98519e3ac545c635b43e61"><td class="mdescLeft">&#160;</td><td class="mdescRight">使用“NEWGROUPS”命令，据指定查询的条件，列出自特定日期以来添加到NNTP服务器的所有新新闻组。如果没有新的新闻组添加，则不会返回任何条目。  <br /></td></tr>
<tr class="separator:a7c0d2c66df98519e3ac545c635b43e61"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a509b3865b6e7be40558ba7a20630b923"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#a509b3865b6e7be40558ba7a20630b923">iterateNewNewsgroups</a> (query: <a class="el" href="classcommonsNet_1_1nntp_1_1NewGroupsOrNewsQuery.html">NewGroupsOrNewsQuery</a>): Iterable&lt;<a class="el" href="classcommonsNet_1_1nntp_1_1NewsgroupInfo.html">NewsgroupInfo</a>&gt;</td></tr>
<tr class="memdesc:a509b3865b6e7be40558ba7a20630b923"><td class="mdescLeft">&#160;</td><td class="mdescRight">使用“NEWGROUPS”命令，据指定查询的条件，列出自特定日期以来添加到NNTP服务器的所有新新闻组。如果没有新的新闻组添加，则不会返回任何条目。  <br /></td></tr>
<tr class="separator:a509b3865b6e7be40558ba7a20630b923"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad85d39ad98bf67fdf63868d3ec69c63a"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#ad85d39ad98bf67fdf63868d3ec69c63a">iterateNewsgroupListing</a> (): Iterable&lt;String&gt;</td></tr>
<tr class="memdesc:ad85d39ad98bf67fdf63868d3ec69c63a"><td class="mdescLeft">&#160;</td><td class="mdescRight">列出NNTP服务器提供服务的所有新闻组。如果没有新闻组，则不会返回任何条目。该方法使用“LIST”命令。  <br /></td></tr>
<tr class="separator:ad85d39ad98bf67fdf63868d3ec69c63a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d4ed4892812599c37ba85844ee73254"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#a5d4ed4892812599c37ba85844ee73254">iterateNewsgroupListing</a> (wildmat: String): Iterable&lt;String&gt;</td></tr>
<tr class="memdesc:a5d4ed4892812599c37ba85844ee73254"><td class="mdescLeft">&#160;</td><td class="mdescRight">列出与给定模式匹配的新闻组。使用“LIST ACTIVE”命令。  <br /></td></tr>
<tr class="separator:a5d4ed4892812599c37ba85844ee73254"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77a738ef7b76e776555fdfc23a0d4bac"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#a77a738ef7b76e776555fdfc23a0d4bac">iterateNewsgroups</a> (): Iterable&lt;<a class="el" href="classcommonsNet_1_1nntp_1_1NewsgroupInfo.html">NewsgroupInfo</a>&gt;</td></tr>
<tr class="memdesc:a77a738ef7b76e776555fdfc23a0d4bac"><td class="mdescLeft">&#160;</td><td class="mdescRight">列出NNTP服务器提供服务的所有新闻组。如果没有新闻组，则不会返回任何条目。该方法使用“LIST”命令。  <br /></td></tr>
<tr class="separator:a77a738ef7b76e776555fdfc23a0d4bac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6b644e06a363cfce07abe8d839687a5"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#ad6b644e06a363cfce07abe8d839687a5">iterateNewsgroups</a> (wildmat: String): Iterable&lt;<a class="el" href="classcommonsNet_1_1nntp_1_1NewsgroupInfo.html">NewsgroupInfo</a>&gt;</td></tr>
<tr class="memdesc:ad6b644e06a363cfce07abe8d839687a5"><td class="mdescLeft">&#160;</td><td class="mdescRight">列出与给定模式匹配的新闻组。使用“LIST ACTIVE”命令。  <br /></td></tr>
<tr class="separator:ad6b644e06a363cfce07abe8d839687a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abec82594fe6fcd7b2f84e090d5e7e754"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#abec82594fe6fcd7b2f84e090d5e7e754">listHelp</a> (): ?String</td></tr>
<tr class="memdesc:abec82594fe6fcd7b2f84e090d5e7e754"><td class="mdescLeft">&#160;</td><td class="mdescRight">列出服务器的命令帮助。  <br /></td></tr>
<tr class="separator:abec82594fe6fcd7b2f84e090d5e7e754"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9fdeb8b102f2d4072cfaf3f2ddce5958"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#a9fdeb8b102f2d4072cfaf3f2ddce5958">listNewNews</a> (query: <a class="el" href="classcommonsNet_1_1nntp_1_1NewGroupsOrNewsQuery.html">NewGroupsOrNewsQuery</a>): ?Array&lt;String&gt;</td></tr>
<tr class="memdesc:a9fdeb8b102f2d4072cfaf3f2ddce5958"><td class="mdescLeft">&#160;</td><td class="mdescRight">据指定查询的条件，列出自特定日期以来添加到NNTP服务器的所有新文章。如果没有发现新消息将返回零长度数组。  <br /></td></tr>
<tr class="separator:a9fdeb8b102f2d4072cfaf3f2ddce5958"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac9e768e198144139acd51eff449a50fb"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#ac9e768e198144139acd51eff449a50fb">listNewNewsgroups</a> (query: <a class="el" href="classcommonsNet_1_1nntp_1_1NewGroupsOrNewsQuery.html">NewGroupsOrNewsQuery</a>): ?Array&lt;<a class="el" href="classcommonsNet_1_1nntp_1_1NewsgroupInfo.html">NewsgroupInfo</a>&gt;</td></tr>
<tr class="memdesc:ac9e768e198144139acd51eff449a50fb"><td class="mdescLeft">&#160;</td><td class="mdescRight">据指定查询的条件，列出自特定日期以来添加到NNTP服务器的所有新新闻组。  <br /></td></tr>
<tr class="separator:ac9e768e198144139acd51eff449a50fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8b58017707ac3c63e7d7674c51c3628d"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#a8b58017707ac3c63e7d7674c51c3628d">listNewsgroups</a> (): ?Array&lt;<a class="el" href="classcommonsNet_1_1nntp_1_1NewsgroupInfo.html">NewsgroupInfo</a>&gt;</td></tr>
<tr class="memdesc:a8b58017707ac3c63e7d7674c51c3628d"><td class="mdescLeft">&#160;</td><td class="mdescRight">列出NNTP服务器提供服务的所有新闻组。如果没有新闻组，将返回一个零长度的数组。如果命令失败，将返回None。该方法使用“LIST”命令。  <br /></td></tr>
<tr class="separator:a8b58017707ac3c63e7d7674c51c3628d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4c5f73deb59fb498c02f7dd63e59ebc"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#aa4c5f73deb59fb498c02f7dd63e59ebc">listNewsgroups</a> (wildmat: String): ?Array&lt;<a class="el" href="classcommonsNet_1_1nntp_1_1NewsgroupInfo.html">NewsgroupInfo</a>&gt;</td></tr>
<tr class="memdesc:aa4c5f73deb59fb498c02f7dd63e59ebc"><td class="mdescLeft">&#160;</td><td class="mdescRight">列出与给定模式匹配的新闻组。使用“LIST ACTIVE”命令。  <br /></td></tr>
<tr class="separator:aa4c5f73deb59fb498c02f7dd63e59ebc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae562d70c2d6cc90b2bf9103ca84e61f3"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#ae562d70c2d6cc90b2bf9103ca84e61f3">listOverviewFmt</a> (): ?Array&lt;String&gt;</td></tr>
<tr class="memdesc:ae562d70c2d6cc90b2bf9103ca84e61f3"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送“LIST OVERVIEW.FMT”命令。  <br /></td></tr>
<tr class="separator:ae562d70c2d6cc90b2bf9103ca84e61f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae35c2f840104cb023326f9d8c1b91be3"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#ae35c2f840104cb023326f9d8c1b91be3">logout</a> (): Bool</td></tr>
<tr class="memdesc:ae35c2f840104cb023326f9d8c1b91be3"><td class="mdescLeft">&#160;</td><td class="mdescRight">通过发送QUIT命令从新闻服务器注销。但是，您仍然必须断开与服务器的连接，然后才能打开新的连接。  <br /></td></tr>
<tr class="separator:ae35c2f840104cb023326f9d8c1b91be3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaad7c3043da976ca69b25519be7a4bbb"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#aaad7c3043da976ca69b25519be7a4bbb">postArticle</a> (): ?<a class="el" href="classcommonsNet_1_1io_1_1DotTerminatedMessageWriter.html">DotTerminatedMessageWriter</a>&lt;StreamingSocket&gt;</td></tr>
<tr class="memdesc:aaad7c3043da976ca69b25519be7a4bbb"><td class="mdescLeft">&#160;</td><td class="mdescRight">将文章发布到NNTP服务器。此方法返回一个DotTerminatedMessageWriter实例，可以向该实例写入文章。如果尝试发布失败，返回None。  <br /></td></tr>
<tr class="separator:aaad7c3043da976ca69b25519be7a4bbb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f7f825b0782087a26899568d6d35076"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#a8f7f825b0782087a26899568d6d35076">retrieveArticle</a> ()</td></tr>
<tr class="memdesc:a8f7f825b0782087a26899568d6d35076"><td class="mdescLeft">&#160;</td><td class="mdescRight">与<code>retrieveArticle("")</code>相同。  <br /></td></tr>
<tr class="separator:a8f7f825b0782087a26899568d6d35076"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a855c3f4f4e41e6cc6332038903685f5a"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#a855c3f4f4e41e6cc6332038903685f5a">retrieveArticle</a> (articleId: String)</td></tr>
<tr class="memdesc:a855c3f4f4e41e6cc6332038903685f5a"><td class="mdescLeft">&#160;</td><td class="mdescRight">与<code> retrieveArticle(articleId, None)</code> 相同。  <br /></td></tr>
<tr class="separator:a855c3f4f4e41e6cc6332038903685f5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a674f55b10a8ad1fc8503659fe12f7607"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#a674f55b10a8ad1fc8503659fe12f7607">retrieveArticle</a> (articleId: String, pointer: ?<a class="el" href="classcommonsNet_1_1nntp_1_1ArticleInfo.html">ArticleInfo</a>)</td></tr>
<tr class="memdesc:a674f55b10a8ad1fc8503659fe12f7607"><td class="mdescLeft">&#160;</td><td class="mdescRight">从当前选定的新闻组中获取一篇文章。  <br /></td></tr>
<tr class="separator:a674f55b10a8ad1fc8503659fe12f7607"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8629eb7f7129e22b6fde1f58df93b463"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#a8629eb7f7129e22b6fde1f58df93b463">retrieveArticle</a> (articleNumber: Int64)</td></tr>
<tr class="memdesc:a8629eb7f7129e22b6fde1f58df93b463"><td class="mdescLeft">&#160;</td><td class="mdescRight">与<code> retrieveArticle(articleNumber, None)</code> 相同。  <br /></td></tr>
<tr class="separator:a8629eb7f7129e22b6fde1f58df93b463"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a30bd9208aac6b135c48cd7b04e404078"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#a30bd9208aac6b135c48cd7b04e404078">retrieveArticle</a> (articleNumber: Int64, pointer: ?<a class="el" href="classcommonsNet_1_1nntp_1_1ArticleInfo.html">ArticleInfo</a>)</td></tr>
<tr class="memdesc:a30bd9208aac6b135c48cd7b04e404078"><td class="mdescLeft">&#160;</td><td class="mdescRight">从当前选定的新闻组中获取一篇文章。这篇文章是根据文章编号引用的。  <br /></td></tr>
<tr class="separator:a30bd9208aac6b135c48cd7b04e404078"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8aebeb48e69f651e9013df7f3d02c4a5"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#a8aebeb48e69f651e9013df7f3d02c4a5">retrieveArticleBody</a> ()</td></tr>
<tr class="memdesc:a8aebeb48e69f651e9013df7f3d02c4a5"><td class="mdescLeft">&#160;</td><td class="mdescRight">与retrieveArticleBody("")相同  <br /></td></tr>
<tr class="separator:a8aebeb48e69f651e9013df7f3d02c4a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8b6f77be10bcbd5db4805fd68592c32"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#af8b6f77be10bcbd5db4805fd68592c32">retrieveArticleBody</a> (articleId: String)</td></tr>
<tr class="memdesc:af8b6f77be10bcbd5db4805fd68592c32"><td class="mdescLeft">&#160;</td><td class="mdescRight">与retrieveArticleBody(articleId, None)相同  <br /></td></tr>
<tr class="separator:af8b6f77be10bcbd5db4805fd68592c32"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afaf7b6633900f6e30cc9b4b2995e4f2e"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#afaf7b6633900f6e30cc9b4b2995e4f2e">retrieveArticleBody</a> (articleId: String, pointer: ?<a class="el" href="classcommonsNet_1_1nntp_1_1ArticleInfo.html">ArticleInfo</a>)</td></tr>
<tr class="memdesc:afaf7b6633900f6e30cc9b4b2995e4f2e"><td class="mdescLeft">&#160;</td><td class="mdescRight">从NNTP服务器获取文章正文。文章由其唯一的文章标识符（包括括起来的&amp;lt；和&amp;gt；）引用。  <br /></td></tr>
<tr class="separator:afaf7b6633900f6e30cc9b4b2995e4f2e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f49682c0f8a8a020efd7ee5e56d266e"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#a7f49682c0f8a8a020efd7ee5e56d266e">retrieveArticleBody</a> (articleNumber: Int64)</td></tr>
<tr class="memdesc:a7f49682c0f8a8a020efd7ee5e56d266e"><td class="mdescLeft">&#160;</td><td class="mdescRight">与retrieveArticleBody(articleNumber, None)相同  <br /></td></tr>
<tr class="separator:a7f49682c0f8a8a020efd7ee5e56d266e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae886b5d68345556fdca859419cbb1951"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#ae886b5d68345556fdca859419cbb1951">retrieveArticleBody</a> (articleNumber: Int64, pointer: ?<a class="el" href="classcommonsNet_1_1nntp_1_1ArticleInfo.html">ArticleInfo</a>)</td></tr>
<tr class="memdesc:ae886b5d68345556fdca859419cbb1951"><td class="mdescLeft">&#160;</td><td class="mdescRight">从NNTP服务器获取文章正文。文章由其编号引用。服务器响应中包含的文章编号和id通过ArticleInfo返回。  <br /></td></tr>
<tr class="separator:ae886b5d68345556fdca859419cbb1951"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a52bb68f343c0293312378d167396fd4b"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#a52bb68f343c0293312378d167396fd4b">retrieveArticleHeader</a> ()</td></tr>
<tr class="memdesc:a52bb68f343c0293312378d167396fd4b"><td class="mdescLeft">&#160;</td><td class="mdescRight">与retrieveArticleHeader("")相同  <br /></td></tr>
<tr class="separator:a52bb68f343c0293312378d167396fd4b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4035914fb3c871a8d1d23c9d57ecf0c8"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#a4035914fb3c871a8d1d23c9d57ecf0c8">retrieveArticleHeader</a> (articleId: String)</td></tr>
<tr class="memdesc:a4035914fb3c871a8d1d23c9d57ecf0c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">与retrieveArticleHeader(articleId, None)相同  <br /></td></tr>
<tr class="separator:a4035914fb3c871a8d1d23c9d57ecf0c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c8c6598587cd8dfb08efc3c26387c66"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#a0c8c6598587cd8dfb08efc3c26387c66">retrieveArticleHeader</a> (articleId: String, pointer: ?<a class="el" href="classcommonsNet_1_1nntp_1_1ArticleInfo.html">ArticleInfo</a>)</td></tr>
<tr class="memdesc:a0c8c6598587cd8dfb08efc3c26387c66"><td class="mdescLeft">&#160;</td><td class="mdescRight">从NNTP服务器获取文章头。文章由其唯一的文章标识符（包括括起来的&amp;lt；和&amp;gt；）引用。服务器响应中包含的文章编号和id通过ArticleInfo返回。  <br /></td></tr>
<tr class="separator:a0c8c6598587cd8dfb08efc3c26387c66"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a08be57cd00288d888f9a1b769d3c532b"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#a08be57cd00288d888f9a1b769d3c532b">retrieveArticleHeader</a> (articleNumber: Int64)</td></tr>
<tr class="memdesc:a08be57cd00288d888f9a1b769d3c532b"><td class="mdescLeft">&#160;</td><td class="mdescRight">与retrieveArticleHeader(articleNumber, None)相同  <br /></td></tr>
<tr class="separator:a08be57cd00288d888f9a1b769d3c532b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8dbc31d0351d9368f1ca475f71f5bef2"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#a8dbc31d0351d9368f1ca475f71f5bef2">retrieveArticleHeader</a> (articleNumber: Int64, pointer: ?<a class="el" href="classcommonsNet_1_1nntp_1_1ArticleInfo.html">ArticleInfo</a>)</td></tr>
<tr class="memdesc:a8dbc31d0351d9368f1ca475f71f5bef2"><td class="mdescLeft">&#160;</td><td class="mdescRight">从NNTP服务器获取文章头。文章由其编号引用。服务器响应中包含的文章编号和id通过ArticleInfo返回。  <br /></td></tr>
<tr class="separator:a8dbc31d0351d9368f1ca475f71f5bef2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a286f846ea7d8cdebcb8720c6d6f7a2ad"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#a286f846ea7d8cdebcb8720c6d6f7a2ad">retrieveArticleInfo</a> (articleNumber: Int64)</td></tr>
<tr class="memdesc:a286f846ea7d8cdebcb8720c6d6f7a2ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取指定文章的文章头信息。  <br /></td></tr>
<tr class="separator:a286f846ea7d8cdebcb8720c6d6f7a2ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a590c447ff6a75024451ee399651ceb6e"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#a590c447ff6a75024451ee399651ceb6e">retrieveArticleInfo</a> (lowArticleNumber: Int64, highArticleNumber: Int64)</td></tr>
<tr class="memdesc:a590c447ff6a75024451ee399651ceb6e"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取lowArticleNumber和highArticleNumber之间（包括）所有文章的头信息。使用XOVER命令。  <br /></td></tr>
<tr class="separator:a590c447ff6a75024451ee399651ceb6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb8f56dfca7a2853bf716c309842da91"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#aeb8f56dfca7a2853bf716c309842da91">retrieveHeader</a> (header: String, articleNumber: Int64)</td></tr>
<tr class="memdesc:aeb8f56dfca7a2853bf716c309842da91"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回指定文章标头。  <br /></td></tr>
<tr class="separator:aeb8f56dfca7a2853bf716c309842da91"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a95a24110f87b56a325e3e182785c69bf"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#a95a24110f87b56a325e3e182785c69bf">retrieveHeader</a> (header: String, lowArticleNumber: Int64, highArticleNumber: Int64)</td></tr>
<tr class="memdesc:a95a24110f87b56a325e3e182785c69bf"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取lowArticleNumber和highArticleNumber之间（包括）所有文章的指定文章标头。  <br /></td></tr>
<tr class="separator:a95a24110f87b56a325e3e182785c69bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a045c8410d39eed529eba26eea3dd0c6a"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#a045c8410d39eed529eba26eea3dd0c6a">selectArticle</a> (pointer: ?<a class="el" href="classcommonsNet_1_1nntp_1_1ArticleInfo.html">ArticleInfo</a>): Bool</td></tr>
<tr class="separator:a045c8410d39eed529eba26eea3dd0c6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a82b649fbd0de6f6ca2c2bf1a42877de6"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#a82b649fbd0de6f6ca2c2bf1a42877de6">selectArticle</a> (articleId: String): Bool</td></tr>
<tr class="separator:a82b649fbd0de6f6ca2c2bf1a42877de6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6678e562baa041e588fa20f1c090c790"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#a6678e562baa041e588fa20f1c090c790">selectArticle</a> (articleId: String, pointer: ?<a class="el" href="classcommonsNet_1_1nntp_1_1ArticleInfo.html">ArticleInfo</a>): Bool</td></tr>
<tr class="memdesc:a6678e562baa041e588fa20f1c090c790"><td class="mdescLeft">&#160;</td><td class="mdescRight">通过唯一标识符（包括括起来的&amp;lt；和&amp;gt；）选择文章。并通过pointer参数返回其文章编号和id。通过STAT命令实现。  <br /></td></tr>
<tr class="separator:a6678e562baa041e588fa20f1c090c790"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68dfd2b6f10de7c48950d6ccb3a6ab4f"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#a68dfd2b6f10de7c48950d6ccb3a6ab4f">selectArticle</a> (articleNumber: Int64): Bool</td></tr>
<tr class="memdesc:a68dfd2b6f10de7c48950d6ccb3a6ab4f"><td class="mdescLeft">&#160;</td><td class="mdescRight">与<code>selectArticle(articleNumber, None)</code>相同。  <br /></td></tr>
<tr class="separator:a68dfd2b6f10de7c48950d6ccb3a6ab4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd94c4791c3bf4a9c20da0ee8510c4b1"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#acd94c4791c3bf4a9c20da0ee8510c4b1">selectArticle</a> (articleNumber: Int64, pointer: ?<a class="el" href="classcommonsNet_1_1nntp_1_1ArticleInfo.html">ArticleInfo</a>): Bool</td></tr>
<tr class="memdesc:acd94c4791c3bf4a9c20da0ee8510c4b1"><td class="mdescLeft">&#160;</td><td class="mdescRight">在当前选定的新闻组中按编号选择一篇文章。并通过pointer参数返回其文章编号和id。通过STAT命令实现。  <br /></td></tr>
<tr class="separator:acd94c4791c3bf4a9c20da0ee8510c4b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73b060571a57e8b50aa28fc80c602514"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#a73b060571a57e8b50aa28fc80c602514">selectNewsgroup</a> (newsgroup: String): Bool</td></tr>
<tr class="memdesc:a73b060571a57e8b50aa28fc80c602514"><td class="mdescLeft">&#160;</td><td class="mdescRight">选择指定的新闻组作为未来文章检索和发布操作的目标。  <br /></td></tr>
<tr class="separator:a73b060571a57e8b50aa28fc80c602514"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0937ed6cd9edb226b70ca96cc8ee426f"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#a0937ed6cd9edb226b70ca96cc8ee426f">selectNewsgroup</a> (newsgroup: String, info: ?<a class="el" href="classcommonsNet_1_1nntp_1_1NewsgroupInfo.html">NewsgroupInfo</a>): Bool</td></tr>
<tr class="memdesc:a0937ed6cd9edb226b70ca96cc8ee426f"><td class="mdescLeft">&#160;</td><td class="mdescRight">选择指定的新闻组作为未来文章检索和发布操作的目标。服务器响应中包含的新闻组信息通过info参数返回。  <br /></td></tr>
<tr class="separator:a0937ed6cd9edb226b70ca96cc8ee426f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f22dcdf6dbe7e042e614cb9ba0b7e08"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#a0f22dcdf6dbe7e042e614cb9ba0b7e08">selectNextArticle</a> (): Bool</td></tr>
<tr class="memdesc:a0f22dcdf6dbe7e042e614cb9ba0b7e08"><td class="mdescLeft">&#160;</td><td class="mdescRight">在当前选定的新闻组中，选择当前选定文章后面的文章。  <br /></td></tr>
<tr class="separator:a0f22dcdf6dbe7e042e614cb9ba0b7e08"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a12df4f3b67a2cf20237318a19516bc02"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#a12df4f3b67a2cf20237318a19516bc02">selectNextArticle</a> (pointer: ?<a class="el" href="classcommonsNet_1_1nntp_1_1ArticleInfo.html">ArticleInfo</a>): Bool</td></tr>
<tr class="memdesc:a12df4f3b67a2cf20237318a19516bc02"><td class="mdescLeft">&#160;</td><td class="mdescRight">在当前选定的新闻组中，选择当前选定文章后面的文章，并通过pointer参数返回其编号和唯一id。由于服务器的不同实现，articleId信息不总是可信。  <br /></td></tr>
<tr class="separator:a12df4f3b67a2cf20237318a19516bc02"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a576f78c0c8270974818ec0dea50db898"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#a576f78c0c8270974818ec0dea50db898">selectPreviousArticle</a> (): Bool</td></tr>
<tr class="memdesc:a576f78c0c8270974818ec0dea50db898"><td class="mdescLeft">&#160;</td><td class="mdescRight">在当前选定的新闻组中，选择当前选定文章前面的文章。  <br /></td></tr>
<tr class="separator:a576f78c0c8270974818ec0dea50db898"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d301b3ebb15ea4b0878d74aa5e6cf19"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#a2d301b3ebb15ea4b0878d74aa5e6cf19">selectPreviousArticle</a> (pointer: ?<a class="el" href="classcommonsNet_1_1nntp_1_1ArticleInfo.html">ArticleInfo</a>): Bool</td></tr>
<tr class="memdesc:a2d301b3ebb15ea4b0878d74aa5e6cf19"><td class="mdescLeft">&#160;</td><td class="mdescRight">在当前选定的新闻组中，选择当前选定文章前面的文章，并通过pointer参数返回其编号和唯一id。由于服务器的不同实现，articleId信息不总是可信。  <br /></td></tr>
<tr class="separator:a2d301b3ebb15ea4b0878d74aa5e6cf19"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classcommonsNet_1_1nntp_1_1NNTP')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="classcommonsNet_1_1nntp_1_1NNTP.html">commonsNet.nntp.NNTP</a></td></tr>
<tr class="memitem:adb161820e1ca9d511915765084443016 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTP.html#adb161820e1ca9d511915765084443016">article</a> ()</td></tr>
<tr class="memdesc:adb161820e1ca9d511915765084443016 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">用于向服务器发送NNTP ARTICLE命令的便捷方法，接受响应并返回响应码。  <br /></td></tr>
<tr class="separator:adb161820e1ca9d511915765084443016 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac3194ea72ab4c60968602cf8d78aff98 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTP.html#ac3194ea72ab4c60968602cf8d78aff98">article</a> (articleNumber: Int64)</td></tr>
<tr class="memdesc:ac3194ea72ab4c60968602cf8d78aff98 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">用于向服务器发送NNTP ARTICLE命令的便捷方法，接受响应并返回响应码。  <br /></td></tr>
<tr class="separator:ac3194ea72ab4c60968602cf8d78aff98 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a37d95f520eff1dc4193bfaa7e3c0d3d2 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTP.html#a37d95f520eff1dc4193bfaa7e3c0d3d2">article</a> (messageId: String)</td></tr>
<tr class="memdesc:a37d95f520eff1dc4193bfaa7e3c0d3d2 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">用于向服务器发送NNTP ARTICLE命令的便捷方法，接受响应并返回响应码。  <br /></td></tr>
<tr class="separator:a37d95f520eff1dc4193bfaa7e3c0d3d2 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2cf411724e249e1b8315f80d6cc1c968 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTP.html#a2cf411724e249e1b8315f80d6cc1c968">authinfoPass</a> (password: String)</td></tr>
<tr class="memdesc:a2cf411724e249e1b8315f80d6cc1c968 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">用于向服务器发送AUTHINFO PASS命令的便捷方法，接受响应并返回响应码。此操作应该紧随AUTHINFO USER命令之后。  <br /></td></tr>
<tr class="separator:a2cf411724e249e1b8315f80d6cc1c968 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a30e075e090017a99a21a72b0b1d752ed inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTP.html#a30e075e090017a99a21a72b0b1d752ed">authinfoUser</a> (user: String)</td></tr>
<tr class="memdesc:a30e075e090017a99a21a72b0b1d752ed inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">用于向服务器发送AUTHINFO USER命令的便捷方法，接受响应并返回响应码。  <br /></td></tr>
<tr class="separator:a30e075e090017a99a21a72b0b1d752ed inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe551d49f7b68099c8e53c8d20529f2f inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTP.html#afe551d49f7b68099c8e53c8d20529f2f">body</a> ()</td></tr>
<tr class="memdesc:afe551d49f7b68099c8e53c8d20529f2f inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">用于向服务器发送NNTP BODY命令的便捷方法，接受响应并返回响应码。  <br /></td></tr>
<tr class="separator:afe551d49f7b68099c8e53c8d20529f2f inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd1b6fc37b0cabc1a7341abd2e74753d inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTP.html#acd1b6fc37b0cabc1a7341abd2e74753d">body</a> (articleNumber: Int64)</td></tr>
<tr class="memdesc:acd1b6fc37b0cabc1a7341abd2e74753d inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">用于向服务器发送NNTP BODY命令的便捷方法，接受响应并返回响应码。  <br /></td></tr>
<tr class="separator:acd1b6fc37b0cabc1a7341abd2e74753d inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae0004490458cbddcac95662d546e5a85 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTP.html#ae0004490458cbddcac95662d546e5a85">body</a> (messageId: String)</td></tr>
<tr class="memdesc:ae0004490458cbddcac95662d546e5a85 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">用于向服务器发送NNTP BODY命令的便捷方法，接受响应并返回响应码。  <br /></td></tr>
<tr class="separator:ae0004490458cbddcac95662d546e5a85 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63c2a93cb2108329e301e9637479ff13 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memItemLeft" align="right" valign="top">public override func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTP.html#a63c2a93cb2108329e301e9637479ff13">disconnect</a> ()</td></tr>
<tr class="memdesc:a63c2a93cb2108329e301e9637479ff13 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">关闭与NNTP服务器的连接，并将某些内部数据置空，以便可以回收空间。  <br /></td></tr>
<tr class="separator:a63c2a93cb2108329e301e9637479ff13 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a399726e3a3b1f0fa246987e7080a8433 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTP.html#a399726e3a3b1f0fa246987e7080a8433">getReply</a> (): Int64</td></tr>
<tr class="memdesc:a399726e3a3b1f0fa246987e7080a8433 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">从NNTP服务器获取回复并返回整数响应码。调用此方法后，可以从getReplySstring访问实际的响应文本。  <br /></td></tr>
<tr class="separator:a399726e3a3b1f0fa246987e7080a8433 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0900112f09cb449984fcd8f9995fb662 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTP.html#a0900112f09cb449984fcd8f9995fb662">getReplyCode</a> ()</td></tr>
<tr class="memdesc:a0900112f09cb449984fcd8f9995fb662 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回最后一个NNTP回复的回复代码的整数值。  <br /></td></tr>
<tr class="separator:a0900112f09cb449984fcd8f9995fb662 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a1eac243211b656810c9b26bafe2a94 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTP.html#a0a1eac243211b656810c9b26bafe2a94">getReplyString</a> ()</td></tr>
<tr class="memdesc:a0a1eac243211b656810c9b26bafe2a94 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回上一个NNTP服务器响应的完整文本（不包括行尾标记）。  <br /></td></tr>
<tr class="separator:a0a1eac243211b656810c9b26bafe2a94 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac865aa3b3459e21921507a8f9b13b0e9 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTP.html#ac865aa3b3459e21921507a8f9b13b0e9">group</a> (newsgroup: String)</td></tr>
<tr class="memdesc:ac865aa3b3459e21921507a8f9b13b0e9 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">用于向服务器发送NNTP GROUP命令的便捷方法，接受响应并返回响应码。  <br /></td></tr>
<tr class="separator:ac865aa3b3459e21921507a8f9b13b0e9 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acdae4b22a9d99be6ad1d35c4c317ce5a inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTP.html#acdae4b22a9d99be6ad1d35c4c317ce5a">head</a> ()</td></tr>
<tr class="memdesc:acdae4b22a9d99be6ad1d35c4c317ce5a inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">用于向服务器发送NNTP HEAD命令的便捷方法，接受响应并返回响应码。  <br /></td></tr>
<tr class="separator:acdae4b22a9d99be6ad1d35c4c317ce5a inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3316bce2711c813a7f829110d518ccc3 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTP.html#a3316bce2711c813a7f829110d518ccc3">head</a> (articleNumber: Int64)</td></tr>
<tr class="memdesc:a3316bce2711c813a7f829110d518ccc3 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">用于向服务器发送NNTP HEAD命令的便捷方法，接受响应并返回响应码。  <br /></td></tr>
<tr class="separator:a3316bce2711c813a7f829110d518ccc3 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1f4aede6017490a121c0d5b0faad69c inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTP.html#af1f4aede6017490a121c0d5b0faad69c">head</a> (messageId: String)</td></tr>
<tr class="memdesc:af1f4aede6017490a121c0d5b0faad69c inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">用于向服务器发送NNTP HEAD命令的便捷方法，接受响应并返回响应码。  <br /></td></tr>
<tr class="separator:af1f4aede6017490a121c0d5b0faad69c inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a86a815f4499991422f5cd11ec43e59d5 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTP.html#a86a815f4499991422f5cd11ec43e59d5">help</a> ()</td></tr>
<tr class="memdesc:a86a815f4499991422f5cd11ec43e59d5 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">用于向服务器发送NNTP HELP命令的便捷方法，接受响应并返回响应码。  <br /></td></tr>
<tr class="separator:a86a815f4499991422f5cd11ec43e59d5 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c91aab858a368e260811225cf470dd2 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTP.html#a0c91aab858a368e260811225cf470dd2">ihave</a> (messageId: String)</td></tr>
<tr class="memdesc:a0c91aab858a368e260811225cf470dd2 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">用于向服务器发送NNTP IHAVE命令的便捷方法，接受响应并返回响应码。  <br /></td></tr>
<tr class="separator:a0c91aab858a368e260811225cf470dd2 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:affc37d4ec2cad8c0f942718f76d855c4 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTP.html#affc37d4ec2cad8c0f942718f76d855c4">isAllowedToPost</a> ()</td></tr>
<tr class="memdesc:affc37d4ec2cad8c0f942718f76d855c4 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">表示是否允许客户端将文章发布到其当前连接的服务器。  <br /></td></tr>
<tr class="separator:affc37d4ec2cad8c0f942718f76d855c4 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9c9012eda5309f1087c78751ba682a89 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTP.html#a9c9012eda5309f1087c78751ba682a89">last</a> ()</td></tr>
<tr class="memdesc:a9c9012eda5309f1087c78751ba682a89 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">用于向服务器发送NNTP LAST命令的便捷方法，接受响应并返回响应码。  <br /></td></tr>
<tr class="separator:a9c9012eda5309f1087c78751ba682a89 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f2e865b3716f12bb7ae639d4ad169f3 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTP.html#a2f2e865b3716f12bb7ae639d4ad169f3">list</a> ()</td></tr>
<tr class="memdesc:a2f2e865b3716f12bb7ae639d4ad169f3 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">用于向服务器发送NNTP LIST命令的便捷方法，接受响应并返回响应码。  <br /></td></tr>
<tr class="separator:a2f2e865b3716f12bb7ae639d4ad169f3 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa719511f5667ce97c4ab6506831ea473 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTP.html#aa719511f5667ce97c4ab6506831ea473">listActive</a> (wildmat: String)</td></tr>
<tr class="memdesc:aa719511f5667ce97c4ab6506831ea473 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">扩展LIST命令的一个包装，它接受一个参数，允许我们选择性地列出多个组。  <br /></td></tr>
<tr class="separator:aa719511f5667ce97c4ab6506831ea473 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5fca221d49f57d39390d44fb96fed367 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTP.html#a5fca221d49f57d39390d44fb96fed367">newgroups</a> (date: String, time: String, GMT: Bool, distributions: ?String)</td></tr>
<tr class="memdesc:a5fca221d49f57d39390d44fb96fed367 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">用于向服务器发送 "NEWGROUPS" 命令的便捷方法，接受响应并返回响应码。  <br /></td></tr>
<tr class="separator:a5fca221d49f57d39390d44fb96fed367 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f8ede65c99f11a6be9ee98dd5ce72bd inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTP.html#a6f8ede65c99f11a6be9ee98dd5ce72bd">newnews</a> (newsgroups: String, date: String, time: String, GMT: Bool, distributions: ?String)</td></tr>
<tr class="memdesc:a6f8ede65c99f11a6be9ee98dd5ce72bd inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">用于向服务器发送 "NEWGROUPS" 命令的便捷方法，接受响应并返回响应码。  <br /></td></tr>
<tr class="separator:a6f8ede65c99f11a6be9ee98dd5ce72bd inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0edcdddac31d00511e065632f59150e8 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTP.html#a0edcdddac31d00511e065632f59150e8">next</a> ()</td></tr>
<tr class="memdesc:a0edcdddac31d00511e065632f59150e8 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">用于向服务器发送NNTP NEXT命令的便捷方法，接受响应并返回响应码。  <br /></td></tr>
<tr class="separator:a0edcdddac31d00511e065632f59150e8 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a838969b8339bcfd1764c0e875ad2fc33 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTP.html#a838969b8339bcfd1764c0e875ad2fc33">post</a> ()</td></tr>
<tr class="memdesc:a838969b8339bcfd1764c0e875ad2fc33 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">用于向服务器发送NNTP POST命令的便捷方法，接受响应并返回响应码。  <br /></td></tr>
<tr class="separator:a838969b8339bcfd1764c0e875ad2fc33 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d89123831c0a39cd84cd594a63cd4ab inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTP.html#a5d89123831c0a39cd84cd594a63cd4ab">quit</a> ()</td></tr>
<tr class="memdesc:a5d89123831c0a39cd84cd594a63cd4ab inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">用于向服务器发送NNTP QUIT命令的便捷方法，接受响应并返回响应码。  <br /></td></tr>
<tr class="separator:a5d89123831c0a39cd84cd594a63cd4ab inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8cbacd89b8fdb93316904c5d31ec4506 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTP.html#a8cbacd89b8fdb93316904c5d31ec4506">sendCommand</a> (command: String)</td></tr>
<tr class="memdesc:a8cbacd89b8fdb93316904c5d31ec4506 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送不带参数的NNTP命令，等待答复并返回数字响应代码。  <br /></td></tr>
<tr class="separator:a8cbacd89b8fdb93316904c5d31ec4506 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac1b6e3cd7e8157bcda03a3a0cb18eb92 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTP.html#ac1b6e3cd7e8157bcda03a3a0cb18eb92">sendCommand</a> (command: String, args: ?String)</td></tr>
<tr class="memdesc:ac1b6e3cd7e8157bcda03a3a0cb18eb92 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送NNTP命令，等待答复并返回数字响应代码。  <br /></td></tr>
<tr class="separator:ac1b6e3cd7e8157bcda03a3a0cb18eb92 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f1a93479ff15ae840bbecb3feac0c0f inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTP.html#a3f1a93479ff15ae840bbecb3feac0c0f">stat</a> ()</td></tr>
<tr class="memdesc:a3f1a93479ff15ae840bbecb3feac0c0f inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">用于向服务器发送NNTP STAT命令的便捷方法，接受响应并返回响应码。  <br /></td></tr>
<tr class="separator:a3f1a93479ff15ae840bbecb3feac0c0f inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73c84b9f90b64464a8044665e20331b8 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTP.html#a73c84b9f90b64464a8044665e20331b8">stat</a> (articleNumber: Int64)</td></tr>
<tr class="memdesc:a73c84b9f90b64464a8044665e20331b8 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">用于向服务器发送NNTP STAT命令的便捷方法，接受响应并返回响应码。  <br /></td></tr>
<tr class="separator:a73c84b9f90b64464a8044665e20331b8 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9069273d7422680baf54ed71cb8c3a24 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTP.html#a9069273d7422680baf54ed71cb8c3a24">stat</a> (messageId: String)</td></tr>
<tr class="memdesc:a9069273d7422680baf54ed71cb8c3a24 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">用于向服务器发送NNTP STAT命令的便捷方法，接受响应并返回响应码。  <br /></td></tr>
<tr class="separator:a9069273d7422680baf54ed71cb8c3a24 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f5d1360a80c49c43e014dc30da73878 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTP.html#a5f5d1360a80c49c43e014dc30da73878">xhdr</a> (header: String, selectedArticles: String)</td></tr>
<tr class="memdesc:a5f5d1360a80c49c43e014dc30da73878 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">用于向服务器发送NNTP XHDR命令的便捷方法，接受响应并返回响应码。  <br /></td></tr>
<tr class="separator:a5f5d1360a80c49c43e014dc30da73878 inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa272d10c8a7e19ce4fffbc61d00c044a inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTP.html#aa272d10c8a7e19ce4fffbc61d00c044a">xover</a> (selectedArticles: String)</td></tr>
<tr class="memdesc:aa272d10c8a7e19ce4fffbc61d00c044a inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">用于向服务器发送NNTP XOVER命令的便捷方法，接受响应并返回响应码。  <br /></td></tr>
<tr class="separator:aa272d10c8a7e19ce4fffbc61d00c044a inherit pub_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classcommonsNet_1_1SocketClient"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classcommonsNet_1_1SocketClient')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="classcommonsNet_1_1SocketClient.html">commonsNet.SocketClient</a></td></tr>
<tr class="memitem:a1bb898df45d7b393d6c2814753b05be3 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a1bb898df45d7b393d6c2814753b05be3">init</a> ()</td></tr>
<tr class="memdesc:a1bb898df45d7b393d6c2814753b05be3 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">默认构造函数  <br /></td></tr>
<tr class="separator:a1bb898df45d7b393d6c2814753b05be3 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a87551917056355777424650106857aaa inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public mut prop&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a87551917056355777424650106857aaa">readTimeout</a> : ?Duration</td></tr>
<tr class="separator:a87551917056355777424650106857aaa inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1bc17afff65b64aa296c3b55ada867ef inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public mut prop&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a1bc17afff65b64aa296c3b55ada867ef">writeTimeout</a> : ?Duration</td></tr>
<tr class="separator:a1bc17afff65b64aa296c3b55ada867ef inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6356afd60138e32bd7b05c8be35149d6 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public prop&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a6356afd60138e32bd7b05c8be35149d6">remoteAddress</a> : IPAddress</td></tr>
<tr class="memdesc:a6356afd60138e32bd7b05c8be35149d6 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">客户端连接到的远程地址。委托给<code><a class="el" href="">StreamingSocket#remoteAddress</a></code>  <br /></td></tr>
<tr class="separator:a6356afd60138e32bd7b05c8be35149d6 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48b65614c29c5816bddc0c0b6d9bf2df inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public prop&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a48b65614c29c5816bddc0c0b6d9bf2df">remotePort</a> : UInt16</td></tr>
<tr class="memdesc:a48b65614c29c5816bddc0c0b6d9bf2df inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">客户端连接到的远程主机的端口号  <br /></td></tr>
<tr class="separator:a48b65614c29c5816bddc0c0b6d9bf2df inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a93a0598e2a9e67a8cd12779a30d65142 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public prop&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a93a0598e2a9e67a8cd12779a30d65142">localAddress</a> : IPAddress</td></tr>
<tr class="memdesc:a93a0598e2a9e67a8cd12779a30d65142 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">客户端套接字绑定到的本地地址。委托给<code><a class="el" href="">StreamingSocket#localAddress</a></code>  <br /></td></tr>
<tr class="separator:a93a0598e2a9e67a8cd12779a30d65142 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acfc16ab47c94037df62fb2ba9d027f1e inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public prop&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#acfc16ab47c94037df62fb2ba9d027f1e">localPort</a> : UInt16</td></tr>
<tr class="memdesc:acfc16ab47c94037df62fb2ba9d027f1e inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">客户端绑定到的本地端口号  <br /></td></tr>
<tr class="separator:acfc16ab47c94037df62fb2ba9d027f1e inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9044380b2d1dd34779216a935fa265c inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public mut prop&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#af9044380b2d1dd34779216a935fa265c">defaultPort</a> : UInt16</td></tr>
<tr class="memdesc:af9044380b2d1dd34779216a935fa265c inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">客户端应连接的默认端口。  <br /></td></tr>
<tr class="separator:af9044380b2d1dd34779216a935fa265c inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c83df8caef820abcb2ab39ebeb3ffa7 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public mut prop&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a0c83df8caef820abcb2ab39ebeb3ffa7">connectTimeout</a> : Duration</td></tr>
<tr class="memdesc:a0c83df8caef820abcb2ab39ebeb3ffa7 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">连接超时时间，将传递给socket对象的connect方法。  <br /></td></tr>
<tr class="separator:a0c83df8caef820abcb2ab39ebeb3ffa7 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a488725edabd4193aa85e999f834245 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a7a488725edabd4193aa85e999f834245">isConnected</a> (): Bool</td></tr>
<tr class="memdesc:a7a488725edabd4193aa85e999f834245 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">如果套接字不是None，则返回true。  <br /></td></tr>
<tr class="separator:a7a488725edabd4193aa85e999f834245 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04e993f4f4374f378f9ddf730e7d1a1a inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a04e993f4f4374f378f9ddf730e7d1a1a">setSocketFactory</a> (socketFactory: ?<a class="el" href="classcommonsNet_1_1SocketFactory.html">SocketFactory</a>): Unit</td></tr>
<tr class="separator:a04e993f4f4374f378f9ddf730e7d1a1a inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad4daf93a806b1a99d35e8b2d8394b2ff inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#ad4daf93a806b1a99d35e8b2d8394b2ff">setServerSocketFactory</a> (serverSocketFactory: ?<a class="el" href="classcommonsNet_1_1ServerSocketFactory.html">ServerSocketFactory</a>): Unit</td></tr>
<tr class="separator:ad4daf93a806b1a99d35e8b2d8394b2ff inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0fbcc57fadf7e3f7b9061232f3bc6303 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public open func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a0fbcc57fadf7e3f7b9061232f3bc6303">connect</a> (address: String): Unit</td></tr>
<tr class="memdesc:a0fbcc57fadf7e3f7b9061232f3bc6303 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">连接到远程主机  <br /></td></tr>
<tr class="separator:a0fbcc57fadf7e3f7b9061232f3bc6303 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a641075d2637ea7141ee2a535d922ef47 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public open func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a641075d2637ea7141ee2a535d922ef47">connect</a> (address: String, port: UInt16): Unit</td></tr>
<tr class="memdesc:a641075d2637ea7141ee2a535d922ef47 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">连接到远程主机  <br /></td></tr>
<tr class="separator:a641075d2637ea7141ee2a535d922ef47 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a5e20f3c11d7648fe8e13bbbfecc685 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public open func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a3a5e20f3c11d7648fe8e13bbbfecc685">connect</a> (address: String, port: UInt16, localAddress: Option&lt;SocketAddress&gt;): Unit</td></tr>
<tr class="memdesc:a3a5e20f3c11d7648fe8e13bbbfecc685 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">连接到远程主机  <br /></td></tr>
<tr class="separator:a3a5e20f3c11d7648fe8e13bbbfecc685 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ea99f7b6db651e4209ec78e8055ad45 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public open func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a1ea99f7b6db651e4209ec78e8055ad45">connect</a> (address: SocketAddress): Unit</td></tr>
<tr class="memdesc:a1ea99f7b6db651e4209ec78e8055ad45 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">连接到远程主机  <br /></td></tr>
<tr class="separator:a1ea99f7b6db651e4209ec78e8055ad45 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0bfe81fc4e64ac8c8cb4b0982ea6ca7 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public open func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#ac0bfe81fc4e64ac8c8cb4b0982ea6ca7">connect</a> (address: SocketAddress, localAddress: Option&lt;SocketAddress&gt;): Unit</td></tr>
<tr class="memdesc:ac0bfe81fc4e64ac8c8cb4b0982ea6ca7 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">连接到远程主机  <br /></td></tr>
<tr class="separator:ac0bfe81fc4e64ac8c8cb4b0982ea6ca7 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d49495a9b64c3e848a020b509dcfdc0 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a9d49495a9b64c3e848a020b509dcfdc0">addProtocolCommandListener</a> (listener: <a class="el" href="classcommonsNet_1_1ProtocolCommandListener.html">ProtocolCommandListener</a>): Unit</td></tr>
<tr class="memdesc:a9d49495a9b64c3e848a020b509dcfdc0 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">添加一个ProtocolCommandListener  <br /></td></tr>
<tr class="separator:a9d49495a9b64c3e848a020b509dcfdc0 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a644174b37f378552318c6b93e44ae0e3 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a644174b37f378552318c6b93e44ae0e3">removeProtocolCommandListener</a> (listener: <a class="el" href="classcommonsNet_1_1ProtocolCommandListener.html">ProtocolCommandListener</a>): Unit</td></tr>
<tr class="memdesc:a644174b37f378552318c6b93e44ae0e3 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">移除一个ProtocolCommandListener  <br /></td></tr>
<tr class="separator:a644174b37f378552318c6b93e44ae0e3 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a209c171637129b711301908fe5781329 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public open func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a209c171637129b711301908fe5781329">disconnect</a> (): Unit</td></tr>
<tr class="memdesc:a209c171637129b711301908fe5781329 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">端口socket连接。应该在完成使用后以及再次连接之前调用此方法。_socket_将设为None  <br /></td></tr>
<tr class="separator:a209c171637129b711301908fe5781329 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a174f159c659d115fbb46baace12215d7 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a174f159c659d115fbb46baace12215d7">verifyRemote</a> (socket: StreamingSocket)</td></tr>
<tr class="memdesc:a174f159c659d115fbb46baace12215d7 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">验证给定套接字的远端是否为当前SocketClient连接的同一主机。  <br /></td></tr>
<tr class="separator:a174f159c659d115fbb46baace12215d7 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pac-methods" name="pac-methods"></a>
包函数</h2></td></tr>
<tr class="memitem:a19534e140a7e471924ca9382a2adf2e1"><td class="memItemLeft" align="right" valign="top">static func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#a19534e140a7e471924ca9382a2adf2e1">parseArticleEntry</a> (line: String): <a class="el" href="classcommonsNet_1_1nntp_1_1Article.html">Article</a></td></tr>
<tr class="memdesc:a19534e140a7e471924ca9382a2adf2e1"><td class="mdescLeft">&#160;</td><td class="mdescRight">解析｛  <br /></td></tr>
<tr class="separator:a19534e140a7e471924ca9382a2adf2e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae2b37d3797d6adc2fa50f1ee477d9aee"><td class="memItemLeft" align="right" valign="top">static func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#ae2b37d3797d6adc2fa50f1ee477d9aee">parseNewsgroupListEntry</a> (entry: String): ?<a class="el" href="classcommonsNet_1_1nntp_1_1NewsgroupInfo.html">NewsgroupInfo</a></td></tr>
<tr class="memdesc:ae2b37d3797d6adc2fa50f1ee477d9aee"><td class="mdescLeft">&#160;</td><td class="mdescRight">解析新闻组信息。  <br /></td></tr>
<tr class="separator:ae2b37d3797d6adc2fa50f1ee477d9aee"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-methods" name="pri-methods"></a>
Private 成员函数</h2></td></tr>
<tr class="memitem:ae91d5448254c4916d681cceda105a6da"><td class="memItemLeft" align="right" valign="top">private static func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#ae91d5448254c4916d681cceda105a6da">parseGroupReply</a> (reply: String, info: <a class="el" href="classcommonsNet_1_1nntp_1_1NewsgroupInfo.html">NewsgroupInfo</a>): Unit</td></tr>
<tr class="memdesc:ae91d5448254c4916d681cceda105a6da"><td class="mdescLeft">&#160;</td><td class="mdescRight">解析NewsgroupInfo的响应行。  <br /></td></tr>
<tr class="separator:ae91d5448254c4916d681cceda105a6da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af70e6a41928374a407082f70964c6123"><td class="memItemLeft" align="right" valign="top">private func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#af70e6a41928374a407082f70964c6123">parseArticlePointer</a> (reply: String, pointer: <a class="el" href="classcommonsNet_1_1nntp_1_1ArticleInfo.html">ArticleInfo</a>): Unit</td></tr>
<tr class="memdesc:af70e6a41928374a407082f70964c6123"><td class="mdescLeft">&#160;</td><td class="mdescRight">解析响应并将id和编号存储在pointer中。  <br /></td></tr>
<tr class="separator:af70e6a41928374a407082f70964c6123"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeed223a7cd387f762004093a0179ce62"><td class="memItemLeft" align="right" valign="top">private func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#aeed223a7cd387f762004093a0179ce62">readNewsgroupListing</a> (): Array&lt;<a class="el" href="classcommonsNet_1_1nntp_1_1NewsgroupInfo.html">NewsgroupInfo</a>&gt;</td></tr>
<tr class="memdesc:aeed223a7cd387f762004093a0179ce62"><td class="mdescLeft">&#160;</td><td class="mdescRight">从连接中读取新闻组列表  <br /></td></tr>
<tr class="separator:aeed223a7cd387f762004093a0179ce62"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab9913831364fcf8c882d6c486f75698d"><td class="memItemLeft" align="right" valign="top">private func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#ab9913831364fcf8c882d6c486f75698d">retrieve</a> (command: String, articleNumber: Int64, pointer: ?<a class="el" href="classcommonsNet_1_1nntp_1_1ArticleInfo.html">ArticleInfo</a>): ?<a class="el" href="classcommonsNet_1_1io_1_1DotTerminatedMessageReader.html">DotTerminatedMessageReader</a>&lt;StreamingSocket&gt;</td></tr>
<tr class="memdesc:ab9913831364fcf8c882d6c486f75698d"><td class="mdescLeft">&#160;</td><td class="mdescRight">通过command告诉服务器读取消息  <br /></td></tr>
<tr class="separator:ab9913831364fcf8c882d6c486f75698d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae113ff01ecd02f448c57a81e9a3cc397"><td class="memItemLeft" align="right" valign="top">private func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#ae113ff01ecd02f448c57a81e9a3cc397">retrieve</a> (command: String, articleId: String, pointer: ?<a class="el" href="classcommonsNet_1_1nntp_1_1ArticleInfo.html">ArticleInfo</a>): ?<a class="el" href="classcommonsNet_1_1io_1_1DotTerminatedMessageReader.html">DotTerminatedMessageReader</a>&lt;StreamingSocket&gt;</td></tr>
<tr class="memdesc:ae113ff01ecd02f448c57a81e9a3cc397"><td class="mdescLeft">&#160;</td><td class="mdescRight">通过command告诉服务器读取消息  <br /></td></tr>
<tr class="separator:ae113ff01ecd02f448c57a81e9a3cc397"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a609a21bf8d0fabe9da1b083481981a72"><td class="memItemLeft" align="right" valign="top">private func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#a609a21bf8d0fabe9da1b083481981a72">retrieveArticleInfo</a> (articleRange: String): ?<a class="el" href="classcommonsNet_1_1io_1_1DotTerminatedMessageReader.html">DotTerminatedMessageReader</a>&lt;StreamingSocket&gt;</td></tr>
<tr class="memdesc:a609a21bf8d0fabe9da1b083481981a72"><td class="mdescLeft">&#160;</td><td class="mdescRight">XOVER功能的私有实现。  <br /></td></tr>
<tr class="separator:a609a21bf8d0fabe9da1b083481981a72"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48be938cb551404001d2b93aa153a587"><td class="memItemLeft" align="right" valign="top">private func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html#a48be938cb551404001d2b93aa153a587">retrieveHeader</a> (header: String, articleRange: String): ?<a class="el" href="classcommonsNet_1_1io_1_1DotTerminatedMessageReader.html">DotTerminatedMessageReader</a>&lt;StreamingSocket&gt;</td></tr>
<tr class="memdesc:a48be938cb551404001d2b93aa153a587"><td class="mdescLeft">&#160;</td><td class="mdescRight">XHDR功能的私有实现。 有关合法参数格式，请参阅｛<a class="el" href="">1036。 </a> <br /></td></tr>
<tr class="separator:a48be938cb551404001d2b93aa153a587"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="inherited" name="inherited"></a>
额外继承的成员函数</h2></td></tr>
<tr class="inherit_header pub_attribs_classcommonsNet_1_1nntp_1_1NNTP"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_classcommonsNet_1_1nntp_1_1NNTP')"><img src="closed.png" alt="-"/>&#160;Public 属性 继承自 <a class="el" href="classcommonsNet_1_1nntp_1_1NNTP.html">commonsNet.nntp.NNTP</a></td></tr>
<tr class="memitem:aa7f4efcb2fbfc23099953289ee915906 inherit pub_attribs_classcommonsNet_1_1nntp_1_1NNTP"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTP.html#aa7f4efcb2fbfc23099953289ee915906">static let DEFAULT_PORT</a> : UInt16 = 119</td></tr>
<tr class="memdesc:aa7f4efcb2fbfc23099953289ee915906 inherit pub_attribs_classcommonsNet_1_1nntp_1_1NNTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">NNTP默认端口  <br /></td></tr>
<tr class="separator:aa7f4efcb2fbfc23099953289ee915906 inherit pub_attribs_classcommonsNet_1_1nntp_1_1NNTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_attribs_classcommonsNet_1_1SocketClient"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_classcommonsNet_1_1SocketClient')"><img src="closed.png" alt="-"/>&#160;Public 属性 继承自 <a class="el" href="classcommonsNet_1_1SocketClient.html">commonsNet.SocketClient</a></td></tr>
<tr class="memitem:acf063b8bd9929825dc931fa75918df33 inherit pub_attribs_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#acf063b8bd9929825dc931fa75918df33">static let NETASCII_EOL</a> : String = &quot;\r\n&quot;</td></tr>
<tr class="memdesc:acf063b8bd9929825dc931fa75918df33 inherit pub_attribs_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">大多数IETF协议使用的换行符，CRLF  <br /></td></tr>
<tr class="separator:acf063b8bd9929825dc931fa75918df33 inherit pub_attribs_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_classcommonsNet_1_1nntp_1_1NNTP"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classcommonsNet_1_1nntp_1_1NNTP')"><img src="closed.png" alt="-"/>&#160;Protected 成员函数 继承自 <a class="el" href="classcommonsNet_1_1nntp_1_1NNTP.html">commonsNet.nntp.NNTP</a></td></tr>
<tr class="memitem:aaa33b71d3a883daf4a000a2e74c72a7f inherit pro_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memItemLeft" align="right" valign="top">protected override func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTP.html#aaa33b71d3a883daf4a000a2e74c72a7f">_connectAction_</a> ()</td></tr>
<tr class="memdesc:aaa33b71d3a883daf4a000a2e74c72a7f inherit pro_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">默认的NNTP构造函数。将默认端口设置为<code>DEFAULT_PORT</code>。  <br /></td></tr>
<tr class="separator:aaa33b71d3a883daf4a000a2e74c72a7f inherit pro_methods_classcommonsNet_1_1nntp_1_1NNTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_classcommonsNet_1_1SocketClient"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classcommonsNet_1_1SocketClient')"><img src="closed.png" alt="-"/>&#160;Protected 成员函数 继承自 <a class="el" href="classcommonsNet_1_1SocketClient.html">commonsNet.SocketClient</a></td></tr>
<tr class="memitem:afa2734bc5477eabf0599324d6ede038b inherit pro_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">protected func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#afa2734bc5477eabf0599324d6ede038b">fireCommandSent</a> (command: String, message: String)</td></tr>
<tr class="memdesc:afa2734bc5477eabf0599324d6ede038b inherit pro_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">如果有任何监听器，则向他们发送命令的详细信息。  <br /></td></tr>
<tr class="separator:afa2734bc5477eabf0599324d6ede038b inherit pro_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae9c596dad672de038df93ef77b63746f inherit pro_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">protected open func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#ae9c596dad672de038df93ef77b63746f">fireReplyReceived</a> (replyCode: Int64, reply: String)</td></tr>
<tr class="memdesc:ae9c596dad672de038df93ef77b63746f inherit pro_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">如果有任何监听器，则向他们发送回复的详细信息。  <br /></td></tr>
<tr class="separator:ae9c596dad672de038df93ef77b63746f inherit pro_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab5133836949f8b27b41a31473654c881 inherit pro_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">protected open func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#ab5133836949f8b27b41a31473654c881">_connectAction_</a> ()</td></tr>
<tr class="memdesc:ab5133836949f8b27b41a31473654c881 inherit pro_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">由于存在较多的connect方法，因此提供_connectAction_方法作为在建立连接后立即执行某些操作的手段，而不是重新实现所有connect方法。  <br /></td></tr>
<tr class="separator:ab5133836949f8b27b41a31473654c881 inherit pro_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_classcommonsNet_1_1nntp_1_1NNTP"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classcommonsNet_1_1nntp_1_1NNTP')"><img src="closed.png" alt="-"/>&#160;Protected 属性 继承自 <a class="el" href="classcommonsNet_1_1nntp_1_1NNTP.html">commonsNet.nntp.NNTP</a></td></tr>
<tr class="memitem:a83ff87e63bf668d616a0652f2ee64d9a inherit pro_attribs_classcommonsNet_1_1nntp_1_1NNTP"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTP.html#a83ff87e63bf668d616a0652f2ee64d9a">var _reader_</a> : ?StringReader&lt;StreamingSocket&gt; = None</td></tr>
<tr class="memdesc:a83ff87e63bf668d616a0652f2ee64d9a inherit pro_attribs_classcommonsNet_1_1nntp_1_1NNTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">包装StreamingSocket以与服务器通信。由｛  <br /></td></tr>
<tr class="separator:a83ff87e63bf668d616a0652f2ee64d9a inherit pro_attribs_classcommonsNet_1_1nntp_1_1NNTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f677632bd5f0fcaf8ae3085d30ef59f inherit pro_attribs_classcommonsNet_1_1nntp_1_1NNTP"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTP.html#a0f677632bd5f0fcaf8ae3085d30ef59f">var _writer_</a> : ?StringWriter&lt;StreamingSocket&gt; = None</td></tr>
<tr class="memdesc:a0f677632bd5f0fcaf8ae3085d30ef59f inherit pro_attribs_classcommonsNet_1_1nntp_1_1NNTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">包装StreamingSocket以与服务器通信。由｛  <br /></td></tr>
<tr class="separator:a0f677632bd5f0fcaf8ae3085d30ef59f inherit pro_attribs_classcommonsNet_1_1nntp_1_1NNTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_classcommonsNet_1_1SocketClient"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classcommonsNet_1_1SocketClient')"><img src="closed.png" alt="-"/>&#160;Protected 属性 继承自 <a class="el" href="classcommonsNet_1_1SocketClient.html">commonsNet.SocketClient</a></td></tr>
<tr class="memitem:a3da898c3d3f8488cf8a498ce1147eaf7 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a3da898c3d3f8488cf8a498ce1147eaf7">var _socket_</a> : ?StreamingSocket</td></tr>
<tr class="memdesc:a3da898c3d3f8488cf8a498ce1147eaf7 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">连接使用的socket  <br /></td></tr>
<tr class="separator:a3da898c3d3f8488cf8a498ce1147eaf7 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7610863136db5773a465f7a4feb10cd5 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a7610863136db5773a465f7a4feb10cd5">var _input_</a> : ?InputStream = None</td></tr>
<tr class="memdesc:a7610863136db5773a465f7a4feb10cd5 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">socket输入流  <br /></td></tr>
<tr class="separator:a7610863136db5773a465f7a4feb10cd5 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a60f2dfec175bdbd8f243aea7a7dae5ec inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a60f2dfec175bdbd8f243aea7a7dae5ec">var _output_</a> : ?OutputStream = None</td></tr>
<tr class="memdesc:a60f2dfec175bdbd8f243aea7a7dae5ec inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">socket输出流  <br /></td></tr>
<tr class="separator:a60f2dfec175bdbd8f243aea7a7dae5ec inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ae2f2d89af96526257357b68009b196 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a1ae2f2d89af96526257357b68009b196">var _hostname_</a> : ?String</td></tr>
<tr class="memdesc:a1ae2f2d89af96526257357b68009b196 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">用于连接的主机名  <br /></td></tr>
<tr class="separator:a1ae2f2d89af96526257357b68009b196 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0eeb213da3426f5b5fe3b0341f628106 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a0eeb213da3426f5b5fe3b0341f628106">var _remoteSocketAddress_</a> : ?SocketAddress</td></tr>
<tr class="memdesc:a0eeb213da3426f5b5fe3b0341f628106 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">用于连接的远程套接字地址。  <br /></td></tr>
<tr class="separator:a0eeb213da3426f5b5fe3b0341f628106 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a222ed7ff95066135d7427671c17cbb51 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a222ed7ff95066135d7427671c17cbb51">var _defaultPort_</a> : UInt16</td></tr>
<tr class="memdesc:a222ed7ff95066135d7427671c17cbb51 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">客户端应连接的默认端口。  <br /></td></tr>
<tr class="separator:a222ed7ff95066135d7427671c17cbb51 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a45e24f8b9f78f96b0e42499f5224c42a inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a45e24f8b9f78f96b0e42499f5224c42a">var _socketFactory_</a> : <a class="el" href="classcommonsNet_1_1SocketFactory.html">SocketFactory</a></td></tr>
<tr class="separator:a45e24f8b9f78f96b0e42499f5224c42a inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa278799518e05c3b7aeb28bcebb23375 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#aa278799518e05c3b7aeb28bcebb23375">var _serverSocketFactory_</a> : <a class="el" href="classcommonsNet_1_1ServerSocketFactory.html">ServerSocketFactory</a></td></tr>
<tr class="separator:aa278799518e05c3b7aeb28bcebb23375 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a839d81898a2aacfcf9bfd3b7b6f0ffb8 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a839d81898a2aacfcf9bfd3b7b6f0ffb8">var _connectTimeout_</a> : Duration = DEFAULT_CONNECT_TIMEOUT</td></tr>
<tr class="memdesc:a839d81898a2aacfcf9bfd3b7b6f0ffb8 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">连接超时时间  <br /></td></tr>
<tr class="separator:a839d81898a2aacfcf9bfd3b7b6f0ffb8 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a57b01a4fe6374778b227c41a8a45b0e1 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a57b01a4fe6374778b227c41a8a45b0e1">let _commandSupport</a> : <a class="el" href="classcommonsNet_1_1ProtocolCommandSupport.html">ProtocolCommandSupport</a></td></tr>
<tr class="memdesc:a57b01a4fe6374778b227c41a8a45b0e1 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">ProtocolCommandSupport对象，用于管理ProtocolCommandListeners的注册和ProtocolCommandEvents的触发。  <br /></td></tr>
<tr class="separator:a57b01a4fe6374778b227c41a8a45b0e1 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>NNTPClient封装了在NNTP服务器发布和检索文章所需的所有功能。 </p>
<p>与从SocketClient类派生的所有类一样，在执行任何操作之前，必须先使用connect连接到服务器，最后在与服务器完成交互后使用disconnect断开连接。isAllowedToPost方法是在NNTP中定义的。<br  />
 如果客户端空闲时间超过给定时间段，或者服务器被操作员或其他原因关闭，则NNTP服务器可能会选择提前关闭连接。 当NNTPClient类接收到服务器连接对命令响应的NNTPReply.SERVICE_DISCONTINUED时，将检测到提前关闭的NNTP连接，遇到该回复的方法将抛出NNTPConnectionClosedException。 当遇到NNTPConnectionClosedException时，必须使用disconnect()断开连接，以正确清理NNTP使用的系统资源。在断开连接之前，您可以使用getReplyCode和getReplyString检查最后的回复代码和文本。<br  />
 当从服务器接收到的回复与协议规范的偏离程度足以使其无法以有用的方式进行解释时，将抛出MalformedServerReplyException。</p>
<dl class="section see"><dt>参见</dt><dd>NNTP </dd>
<dd>
NNTPConnectionClosedException </dd>
<dd>
MalformedServerReplyException </dd></dl>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="a2251ba755688ea3cad408a6ad8fdea17" name="a2251ba755688ea3cad408a6ad8fdea17"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2251ba755688ea3cad408a6ad8fdea17">&#9670;&#160;</a></span>authenticate()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.nntp.NNTPClient.authenticate </td>
          <td>(</td>
          <td class="paramname"><em>user</em>:&#160;</td>
          <td class="paramtype">String, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>password</em>:&#160;</td>
          <td class="paramtype">String&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>: Bool </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>通过发送AUTHINFO USER/AUTHINFO PASS命令序列登录新闻服务器。通常是为了NNTP服务器响应的480回复代码而发送。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">user</td><td>一个有效的用户名 </td></tr>
    <tr><td class="paramname">password</td><td>对应的密码 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>true表示登录成功，false表示登录失败 </dd></dl>

</div>
</div>
<a id="ac12775d28036c600b685a63212fb5f0a" name="ac12775d28036c600b685a63212fb5f0a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac12775d28036c600b685a63212fb5f0a">&#9670;&#160;</a></span>completePendingCommand()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.nntp.NNTPClient.completePendingCommand </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Bool </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>接收当前命令的响应信息。 </p>
<p>有一些NNTPClient方法不能完成整个NNTP命令序列事务。这些命令需要一些 在接收到肯定的初步命令之后的动作。完成代码操作后，必须调用该 方法从服务器接收完成回复并验证整个事务的成功。<br  />
 例如<br  />
 </p><pre>
 writer = client.postArticle()
 if (writer.isNone()) 
     return false
 header = SimpleNNTPHeader("foobar@foo.com", "Just testing")
 header.addNewsgroup("alt.test")
 writer.write(header.toString())
 writer.write("This is just a test")
 writer.close()
 if (!client.completePendingCommand()) 
     return false
 </pre> <dl class="section return"><dt>返回</dt><dd>如果成功完成返回true，则返回false。 </dd></dl>

</div>
</div>
<a id="a90e911ae6fb6047c0452715f388f01c9" name="a90e911ae6fb6047c0452715f388f01c9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a90e911ae6fb6047c0452715f388f01c9">&#9670;&#160;</a></span>forwardArticle()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.nntp.NNTPClient.forwardArticle </td>
          <td>(</td>
          <td class="paramname"><em>articleId</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td>: ?<a class="el" href="classcommonsNet_1_1io_1_1DotTerminatedMessageWriter.html">DotTerminatedMessageWriter</a>&lt;StreamingSocket&gt; </td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a572c2d4467d22e9b8f03d99ace453cd0" name="a572c2d4467d22e9b8f03d99ace453cd0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a572c2d4467d22e9b8f03d99ace453cd0">&#9670;&#160;</a></span>iterateArticleInfo()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.nntp.NNTPClient.iterateArticleInfo </td>
          <td>(</td>
          <td class="paramname"><em>lowArticleNumber</em>:&#160;</td>
          <td class="paramtype">Int64, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>highArticleNumber</em>:&#160;</td>
          <td class="paramtype">Int64&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>: Iterable&lt;<a class="el" href="classcommonsNet_1_1nntp_1_1Article.html">Article</a>&gt; </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>使用XOVER命令返回lowArticleNumber和highArticleNumber之间（包括在内）的所有项目的article headers。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">lowArticleNumber</td><td>low </td></tr>
    <tr><td class="paramname">highArticleNumber</td><td>high </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>可迭代的Articles </dd></dl>

</div>
</div>
<a id="a2e4bacc1c09feb725075c2c98dd30f38" name="a2e4bacc1c09feb725075c2c98dd30f38"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2e4bacc1c09feb725075c2c98dd30f38">&#9670;&#160;</a></span>iterateNewNews()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.nntp.NNTPClient.iterateNewNews </td>
          <td>(</td>
          <td class="paramname"><em>query</em>:&#160;</td>
          <td class="paramtype">NewGroupsOrNewsQuery</td><td>)</td>
          <td>: Iterable&lt;String&gt; </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>使用“NEWNEWS”命令，根据指定查询的条件，列出自特定日期以来添加到NNTP服务器的所有新文章。 </p>
<p>如果没有发现新的消息，不会返回任何条目。必须向查询中至少添加一个新闻组，否则命令将失败。 返回的每个字符串都是唯一的消息标识符，包括封闭的&amp;lt；以及&amp;gt；。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">query</td><td>限制如何搜索新新闻的查询。必须至少向查询中添加一个新闻组。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>String实例的迭代器，包含NNTP服务器的每个新文章的唯一消息标识符。如果没有发现新的消息，不会返回任何字符串。 </dd></dl>

</div>
</div>
<a id="a7c0d2c66df98519e3ac545c635b43e61" name="a7c0d2c66df98519e3ac545c635b43e61"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7c0d2c66df98519e3ac545c635b43e61">&#9670;&#160;</a></span>iterateNewNewsgroupListing()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.nntp.NNTPClient.iterateNewNewsgroupListing </td>
          <td>(</td>
          <td class="paramname"><em>query</em>:&#160;</td>
          <td class="paramtype">NewGroupsOrNewsQuery</td><td>)</td>
          <td>: Iterable&lt;String&gt; </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>使用“NEWGROUPS”命令，据指定查询的条件，列出自特定日期以来添加到NNTP服务器的所有新新闻组。如果没有新的新闻组添加，则不会返回任何条目。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">query</td><td>限制如何搜索新新闻组的查询。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>字符串的可迭代项，包含添加到NNTP服务器的每个新新闻组的原始信息。如果没有添加新闻组，则没有条目会被返回。 </dd></dl>

</div>
</div>
<a id="a509b3865b6e7be40558ba7a20630b923" name="a509b3865b6e7be40558ba7a20630b923"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a509b3865b6e7be40558ba7a20630b923">&#9670;&#160;</a></span>iterateNewNewsgroups()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.nntp.NNTPClient.iterateNewNewsgroups </td>
          <td>(</td>
          <td class="paramname"><em>query</em>:&#160;</td>
          <td class="paramtype">NewGroupsOrNewsQuery</td><td>)</td>
          <td>: Iterable&lt;<a class="el" href="classcommonsNet_1_1nntp_1_1NewsgroupInfo.html">NewsgroupInfo</a>&gt; </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>使用“NEWGROUPS”命令，据指定查询的条件，列出自特定日期以来添加到NNTP服务器的所有新新闻组。如果没有新的新闻组添加，则不会返回任何条目。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">query</td><td>限制如何搜索新新闻组的查询。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>NewsgroupInfo实例的迭代，包含添加到NNTP服务器的每个新新闻组的信息。如果没有添加新闻组，则没有条目会被返回。 </dd></dl>

</div>
</div>
<a id="ad85d39ad98bf67fdf63868d3ec69c63a" name="ad85d39ad98bf67fdf63868d3ec69c63a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad85d39ad98bf67fdf63868d3ec69c63a">&#9670;&#160;</a></span>iterateNewsgroupListing() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.nntp.NNTPClient.iterateNewsgroupListing </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Iterable&lt;String&gt; </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>列出NNTP服务器提供服务的所有新闻组。如果没有新闻组，则不会返回任何条目。该方法使用“LIST”命令。 </p>
<dl class="section return"><dt>返回</dt><dd>字符串的可迭代项，包含添加到NNTP服务器的每个新新闻组的原始信息。如果没有新闻组，则没有条目会被返回。 </dd></dl>

</div>
</div>
<a id="a5d4ed4892812599c37ba85844ee73254" name="a5d4ed4892812599c37ba85844ee73254"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5d4ed4892812599c37ba85844ee73254">&#9670;&#160;</a></span>iterateNewsgroupListing() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.nntp.NNTPClient.iterateNewsgroupListing </td>
          <td>(</td>
          <td class="paramname"><em>wildmat</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td>: Iterable&lt;String&gt; </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>列出与给定模式匹配的新闻组。使用“LIST ACTIVE”命令。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">wildmat</td><td>一个伪正则表达式模式(RFC 2980) </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>字符串的可迭代项，包含NNTP服务器所服务的与所提供的模式相对应的每个新闻组的原始信息。如果没有此类新闻组已送达，不会返回任何条目。 </dd></dl>

</div>
</div>
<a id="a77a738ef7b76e776555fdfc23a0d4bac" name="a77a738ef7b76e776555fdfc23a0d4bac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a77a738ef7b76e776555fdfc23a0d4bac">&#9670;&#160;</a></span>iterateNewsgroups() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.nntp.NNTPClient.iterateNewsgroups </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Iterable&lt;<a class="el" href="classcommonsNet_1_1nntp_1_1NewsgroupInfo.html">NewsgroupInfo</a>&gt; </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>列出NNTP服务器提供服务的所有新闻组。如果没有新闻组，则不会返回任何条目。该方法使用“LIST”命令。 </p>
<dl class="section return"><dt>返回</dt><dd>NewsgroupInfo的可迭代项，包含NNTP服务器所服务的每个新闻组信息。如果没有新闻组，则不会提供任何条目返回。 </dd></dl>

</div>
</div>
<a id="ad6b644e06a363cfce07abe8d839687a5" name="ad6b644e06a363cfce07abe8d839687a5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad6b644e06a363cfce07abe8d839687a5">&#9670;&#160;</a></span>iterateNewsgroups() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.nntp.NNTPClient.iterateNewsgroups </td>
          <td>(</td>
          <td class="paramname"><em>wildmat</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td>: Iterable&lt;<a class="el" href="classcommonsNet_1_1nntp_1_1NewsgroupInfo.html">NewsgroupInfo</a>&gt; </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>列出与给定模式匹配的新闻组。使用“LIST ACTIVE”命令。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">wildmat</td><td>一个伪正则表达式模式(RFC 2980) </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>NewsgroupInfo的可迭代项，包含NNTP服务器所服务的每个新闻组信息。如果没有新闻组，则不会提供任何条目返回。 </dd></dl>

</div>
</div>
<a id="abec82594fe6fcd7b2f84e090d5e7e754" name="abec82594fe6fcd7b2f84e090d5e7e754"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abec82594fe6fcd7b2f84e090d5e7e754">&#9670;&#160;</a></span>listHelp()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.nntp.NNTPClient.listHelp </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: ?String </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>列出服务器的命令帮助。 </p>
<dl class="section return"><dt>返回</dt><dd>服务器帮助信息。 </dd></dl>

</div>
</div>
<a id="a9fdeb8b102f2d4072cfaf3f2ddce5958" name="a9fdeb8b102f2d4072cfaf3f2ddce5958"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9fdeb8b102f2d4072cfaf3f2ddce5958">&#9670;&#160;</a></span>listNewNews()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.nntp.NNTPClient.listNewNews </td>
          <td>(</td>
          <td class="paramname"><em>query</em>:&#160;</td>
          <td class="paramtype">NewGroupsOrNewsQuery</td><td>)</td>
          <td>: ?Array&lt;String&gt; </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>据指定查询的条件，列出自特定日期以来添加到NNTP服务器的所有新文章。如果没有发现新消息将返回零长度数组。 </p>
<p>如果命令失败，将返回None。必须向查询中至少添加一个新闻组，否则命令将失败。<br  />
 返回数组中的每个String都是唯一的消息标识符，包括封闭的&amp;lt；以及&amp;gt；。使用“NEWNEWS”命令。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">query</td><td>限制如何搜索新新闻的查询。必须至少向查询中添加一个新闻组。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>一个字符串实例数组，包含添加到NNTP服务器的每个新项目的唯一消息标识符。如果没有发现新消息将返回零长度数组。如果命令失败，将返回None。</dd></dl>
<dl class="section see"><dt>参见</dt><dd>#iterateNewNews(NewGroupsOrNewsQuery) </dd></dl>

</div>
</div>
<a id="ac9e768e198144139acd51eff449a50fb" name="ac9e768e198144139acd51eff449a50fb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac9e768e198144139acd51eff449a50fb">&#9670;&#160;</a></span>listNewNewsgroups()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.nntp.NNTPClient.listNewNewsgroups </td>
          <td>(</td>
          <td class="paramname"><em>query</em>:&#160;</td>
          <td class="paramtype">NewGroupsOrNewsQuery</td><td>)</td>
          <td>: ?Array&lt;<a class="el" href="classcommonsNet_1_1nntp_1_1NewsgroupInfo.html">NewsgroupInfo</a>&gt; </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>据指定查询的条件，列出自特定日期以来添加到NNTP服务器的所有新新闻组。 </p>
<p>如果没有新的新闻组添加，将返回一个零长度的数组。如果命令失败，将返回None。使用“NEWGROUPS”命令。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">query</td><td>限制如何搜索新新闻组的查询。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>NewsgroupInfo实例的数组，包含添加到NNTP服务器的每个新新闻组的信息。如果没有添加新闻组，则将返回零长度数组。如果命令失败，将返回None。 </dd></dl>
<dl class="section see"><dt>参见</dt><dd>#iterateNewNewsgroups(NewGroupsOrNewsQuery) </dd>
<dd>
#iterateNewNewsgroupListing(NewGroupsOrNewsQuery) </dd></dl>

</div>
</div>
<a id="a8b58017707ac3c63e7d7674c51c3628d" name="a8b58017707ac3c63e7d7674c51c3628d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8b58017707ac3c63e7d7674c51c3628d">&#9670;&#160;</a></span>listNewsgroups() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.nntp.NNTPClient.listNewsgroups </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: ?Array&lt;<a class="el" href="classcommonsNet_1_1nntp_1_1NewsgroupInfo.html">NewsgroupInfo</a>&gt; </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>列出NNTP服务器提供服务的所有新闻组。如果没有新闻组，将返回一个零长度的数组。如果命令失败，将返回None。该方法使用“LIST”命令。 </p>
<dl class="section return"><dt>返回</dt><dd>NewsgroupInfo实例的数组，包含NNTP服务器所服务的每个新闻组的信息。如果没有新闻组，则返回零长度的数组。如果命令失败，将返回None。 </dd></dl>
<dl class="section see"><dt>参见</dt><dd>#iterateNewsgroupListing() </dd>
<dd>
#iterateNewsgroups() </dd></dl>

</div>
</div>
<a id="aa4c5f73deb59fb498c02f7dd63e59ebc" name="aa4c5f73deb59fb498c02f7dd63e59ebc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa4c5f73deb59fb498c02f7dd63e59ebc">&#9670;&#160;</a></span>listNewsgroups() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.nntp.NNTPClient.listNewsgroups </td>
          <td>(</td>
          <td class="paramname"><em>wildmat</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td>: ?Array&lt;<a class="el" href="classcommonsNet_1_1nntp_1_1NewsgroupInfo.html">NewsgroupInfo</a>&gt; </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>列出与给定模式匹配的新闻组。使用“LIST ACTIVE”命令。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">wildmat</td><td>一个伪正则表达式模式（RFC 2980） </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>一个NewsgroupInfo实例数组，包含NNTP服务器所服务的每个新闻组的信息，对应于提供的模式，如果没有这样的新闻组，将返回一个零长度的数组。如果命令失败，将返回None。 </dd></dl>
<dl class="section see"><dt>参见</dt><dd>#iterateNewsgroupListing(String) </dd>
<dd>
#iterateNewsgroups(String) </dd></dl>

</div>
</div>
<a id="ae562d70c2d6cc90b2bf9103ca84e61f3" name="ae562d70c2d6cc90b2bf9103ca84e61f3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae562d70c2d6cc90b2bf9103ca84e61f3">&#9670;&#160;</a></span>listOverviewFmt()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.nntp.NNTPClient.listOverviewFmt </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: ?Array&lt;String&gt; </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>向服务器发送“LIST OVERVIEW.FMT”命令。 </p>
<dl class="section return"><dt>返回</dt><dd>Overview格式的内容，如果命令失败，则返回None </dd></dl>

</div>
</div>
<a id="ae35c2f840104cb023326f9d8c1b91be3" name="ae35c2f840104cb023326f9d8c1b91be3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae35c2f840104cb023326f9d8c1b91be3">&#9670;&#160;</a></span>logout()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.nntp.NNTPClient.logout </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Bool </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>通过发送QUIT命令从新闻服务器注销。但是，您仍然必须断开与服务器的连接，然后才能打开新的连接。 </p>
<dl class="section return"><dt>返回</dt><dd>如果成功完成返回true，则返回false。 </dd></dl>

</div>
</div>
<a id="a19534e140a7e471924ca9382a2adf2e1" name="a19534e140a7e471924ca9382a2adf2e1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a19534e140a7e471924ca9382a2adf2e1">&#9670;&#160;</a></span>parseArticleEntry()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static func commonsNet.nntp.NNTPClient.parseArticleEntry </td>
          <td>(</td>
          <td class="paramname"><em>line</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td>: <a class="el" href="classcommonsNet_1_1nntp_1_1Article.html">Article</a> </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">package</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>解析｛ </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">line</td><td>响应行 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>解析后的<code><a class="el" href="">Article</a></code>，如果不可解析，那么isDummy（）将为true，主题将包含原始信息。 </dd></dl>

</div>
</div>
<a id="af70e6a41928374a407082f70964c6123" name="af70e6a41928374a407082f70964c6123"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af70e6a41928374a407082f70964c6123">&#9670;&#160;</a></span>parseArticlePointer()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">private func commonsNet.nntp.NNTPClient.parseArticlePointer </td>
          <td>(</td>
          <td class="paramname"><em>reply</em>:&#160;</td>
          <td class="paramtype">String, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>pointer</em>:&#160;</td>
          <td class="paramtype">ArticleInfo&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>: Unit </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>解析响应并将id和编号存储在pointer中。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">reply</td><td>要解析的响应，"22n nnn &lt;aaa&gt;" </td></tr>
    <tr><td class="paramname">pointer</td><td>要更新的pointer</td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">MalformedServerReplyException</td><td>如果无法解析响应 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ae91d5448254c4916d681cceda105a6da" name="ae91d5448254c4916d681cceda105a6da"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae91d5448254c4916d681cceda105a6da">&#9670;&#160;</a></span>parseGroupReply()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">private static func commonsNet.nntp.NNTPClient.parseGroupReply </td>
          <td>(</td>
          <td class="paramname"><em>reply</em>:&#160;</td>
          <td class="paramtype">String, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>info</em>:&#160;</td>
          <td class="paramtype">NewsgroupInfo&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>: Unit </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>解析NewsgroupInfo的响应行。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">line</td><td>响应行 </td></tr>
    <tr><td class="paramname">info</td><td>解析的信息将填充到info中 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ae2b37d3797d6adc2fa50f1ee477d9aee" name="ae2b37d3797d6adc2fa50f1ee477d9aee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae2b37d3797d6adc2fa50f1ee477d9aee">&#9670;&#160;</a></span>parseNewsgroupListEntry()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static func commonsNet.nntp.NNTPClient.parseNewsgroupListEntry </td>
          <td>(</td>
          <td class="paramname"><em>entry</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td>: ?<a class="el" href="classcommonsNet_1_1nntp_1_1NewsgroupInfo.html">NewsgroupInfo</a> </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">package</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>解析新闻组信息。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">entry</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>新闻组信息 </dd></dl>

</div>
</div>
<a id="aaad7c3043da976ca69b25519be7a4bbb" name="aaad7c3043da976ca69b25519be7a4bbb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaad7c3043da976ca69b25519be7a4bbb">&#9670;&#160;</a></span>postArticle()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.nntp.NNTPClient.postArticle </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: ?<a class="el" href="classcommonsNet_1_1io_1_1DotTerminatedMessageWriter.html">DotTerminatedMessageWriter</a>&lt;StreamingSocket&gt; </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>将文章发布到NNTP服务器。此方法返回一个DotTerminatedMessageWriter实例，可以向该实例写入文章。如果尝试发布失败，返回None。 </p>
<p>在尝试发布之前，您应该检查｛<a class="el" href="">isAllowedToPost()｝。标头格式不正确也可能会导致尝试发布失败。 </a> 在完成对返回的Writer实例的写入并关闭它之前，不得向NNTP服务器发出任何命令（即调用任何（其他方法））。 NNTP协议使用与返回结果相同的流来发布命令。因此，返回的Writer实际上直接写入NNTP连接。关闭Writer后，可以执行新的命令。如果你不遵守这些要求，你的程序将无法正确地运行。<br  />
 </p>
<p>不同的NNTP服务器将需要不同的头格式，但您可以使用提供的SimpleNNTPHeader类来为大多数新闻阅读器构建最低限度的可接受标题。 要构建更复杂的头，您应该参考RFC 822。DotTerminatedMessageWriter负责加倍行的前导点，并在关闭时用一个点结束消息，所以你所要考虑的就是写头和消息内容。<br  />
 </p>
<p>关闭返回的Writer后，您需要调用｛ completePendingCommand()｝来完成发布并验证其来自服务器回复是成功或失败。 </p>
<dl class="section return"><dt>返回</dt><dd>一个可以写入文章（包括头）的DotTerminatedMessageWriter。如果命令失败，则返回None。 </dd></dl>

</div>
</div>
<a id="aeed223a7cd387f762004093a0179ce62" name="aeed223a7cd387f762004093a0179ce62"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeed223a7cd387f762004093a0179ce62">&#9670;&#160;</a></span>readNewsgroupListing()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">private func commonsNet.nntp.NNTPClient.readNewsgroupListing </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Array&lt;<a class="el" href="classcommonsNet_1_1nntp_1_1NewsgroupInfo.html">NewsgroupInfo</a>&gt; </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>从连接中读取新闻组列表 </p>

</div>
</div>
<a id="ae113ff01ecd02f448c57a81e9a3cc397" name="ae113ff01ecd02f448c57a81e9a3cc397"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae113ff01ecd02f448c57a81e9a3cc397">&#9670;&#160;</a></span>retrieve() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">private func commonsNet.nntp.NNTPClient.retrieve </td>
          <td>(</td>
          <td class="paramname"><em>command</em>:&#160;</td>
          <td class="paramtype">String, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>articleId</em>:&#160;</td>
          <td class="paramtype">String, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>pointer</em>:&#160;</td>
          <td class="paramtype">?ArticleInfo&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>: ?<a class="el" href="classcommonsNet_1_1io_1_1DotTerminatedMessageReader.html">DotTerminatedMessageReader</a>&lt;StreamingSocket&gt; </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>通过command告诉服务器读取消息 </p>

</div>
</div>
<a id="ab9913831364fcf8c882d6c486f75698d" name="ab9913831364fcf8c882d6c486f75698d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab9913831364fcf8c882d6c486f75698d">&#9670;&#160;</a></span>retrieve() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">private func commonsNet.nntp.NNTPClient.retrieve </td>
          <td>(</td>
          <td class="paramname"><em>command</em>:&#160;</td>
          <td class="paramtype">String, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>articleNumber</em>:&#160;</td>
          <td class="paramtype">Int64, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>pointer</em>:&#160;</td>
          <td class="paramtype">?ArticleInfo&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>: ?<a class="el" href="classcommonsNet_1_1io_1_1DotTerminatedMessageReader.html">DotTerminatedMessageReader</a>&lt;StreamingSocket&gt; </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>通过command告诉服务器读取消息 </p>

</div>
</div>
<a id="a8f7f825b0782087a26899568d6d35076" name="a8f7f825b0782087a26899568d6d35076"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8f7f825b0782087a26899568d6d35076">&#9670;&#160;</a></span>retrieveArticle() <span class="overload">[1/5]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.nntp.NNTPClient.retrieveArticle </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>与<code>retrieveArticle("")</code>相同。 </p>
<dl class="section return"><dt>返回</dt><dd>可以读取文章的DotTerminatedMessageReader实例。如果文章不存在，则为None。 </dd></dl>

</div>
</div>
<a id="a855c3f4f4e41e6cc6332038903685f5a" name="a855c3f4f4e41e6cc6332038903685f5a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a855c3f4f4e41e6cc6332038903685f5a">&#9670;&#160;</a></span>retrieveArticle() <span class="overload">[2/5]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.nntp.NNTPClient.retrieveArticle </td>
          <td>(</td>
          <td class="paramname"><em>articleId</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>与<code> retrieveArticle(articleId, None)</code> 相同。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">articleId</td><td>要获取的文章Id </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>可以从中读取文章的DotTerminatedMessageReader实例。如果文章不存在，则为None。 </dd></dl>

</div>
</div>
<a id="a674f55b10a8ad1fc8503659fe12f7607" name="a674f55b10a8ad1fc8503659fe12f7607"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a674f55b10a8ad1fc8503659fe12f7607">&#9670;&#160;</a></span>retrieveArticle() <span class="overload">[3/5]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.nntp.NNTPClient.retrieveArticle </td>
          <td>(</td>
          <td class="paramname"><em>articleId</em>:&#160;</td>
          <td class="paramtype">String, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>pointer</em>:&#160;</td>
          <td class="paramtype">?ArticleInfo&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>从当前选定的新闻组中获取一篇文章。 </p>
<p>这篇文章是根据文章id引用的，包括封闭的&amp;lt；以及&amp;gt；。在服务器中响应中包含的编号和id通过ArticleInfo返回。<br  />
 ArticleInfo的<code>articleId</code>字段不总是可信的，因为某些NNTP服务器没有正确遵循RFC 977回复格式。</p>
<p>返回一个可以从中读取文章的DotTerminatedMessageReader实例。如果文章不存在，则返回None。<br  />
 在从返回的Reader中读取完消息之前，不得向NNTP服务器发出任何命令（即调用任何其他方法）。<br  />
 NNTP协议使用与返回结果相同的流来发送命令。因此，返回的Reader实际上直接从NNTP连接读取信息。到达消息末尾后，可以执行新命令并读取它们的回复。如果没有遵循这些要求，您的程序将无法正常工作。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">articleId</td><td>要获取的文章id，如果该参数为空，则返回当前文章。 </td></tr>
    <tr><td class="paramname">pointer</td><td>用于返回文章的编号和id信息。articleId字段并不总是可信的，因为有些服务器响应格式与RFC 977有所偏差。如果你不需要返回文章信息，可以将该参数设为None。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>一个可以从中读取文章的DotTerminatedMessageReader实例。如果文章不存在，则为None。<br  />
</dd></dl>

</div>
</div>
<a id="a8629eb7f7129e22b6fde1f58df93b463" name="a8629eb7f7129e22b6fde1f58df93b463"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8629eb7f7129e22b6fde1f58df93b463">&#9670;&#160;</a></span>retrieveArticle() <span class="overload">[4/5]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.nntp.NNTPClient.retrieveArticle </td>
          <td>(</td>
          <td class="paramname"><em>articleNumber</em>:&#160;</td>
          <td class="paramtype">Int64</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>与<code> retrieveArticle(articleNumber, None)</code> 相同。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">articleNumber</td><td>要获取的文章编号 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>可以从中读取文章的DotTerminatedMessageReader实例。如果文章不存在，则为None。 </dd></dl>

</div>
</div>
<a id="a30bd9208aac6b135c48cd7b04e404078" name="a30bd9208aac6b135c48cd7b04e404078"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a30bd9208aac6b135c48cd7b04e404078">&#9670;&#160;</a></span>retrieveArticle() <span class="overload">[5/5]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.nntp.NNTPClient.retrieveArticle </td>
          <td>(</td>
          <td class="paramname"><em>articleNumber</em>:&#160;</td>
          <td class="paramtype">Int64, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>pointer</em>:&#160;</td>
          <td class="paramtype">?ArticleInfo&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>从当前选定的新闻组中获取一篇文章。这篇文章是根据文章编号引用的。 </p>
<p>在服务器中响应中包含的编号和id通过ArticleInfo返回。<br  />
 ArticleInfo的<code>articleId</code>字段不总是可信的，因为某些NNTP服务器没有正确遵循RFC 977回复格式。</p>
<p>返回一个可以从中读取文章的DotTerminatedMessageReader实例。如果文章不存在，则返回None。<br  />
 在从返回的Reader中读取完消息之前，不得向NNTP服务器发出任何命令（即调用任何其他方法）。<br  />
 NNTP协议使用与返回结果相同的流来发送命令。因此，返回的Reader实际上直接从NNTP连接读取信息。到达消息末尾后，可以执行新命令并读取它们的回复。如果没有遵循这些要求，您的程序将无法正常工作。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">articleNumber</td><td>要获取的文章编号 </td></tr>
    <tr><td class="paramname">pointer</td><td>用于返回文章的编号和id信息。articleId字段并不总是可信的，因为有些服务器响应格式与RFC 977有所偏差。如果你不需要返回文章信息，可以将该参数设为None。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>一个可以从中读取文章的DotTerminatedMessageReader实例。如果文章不存在，则为None。<br  />
</dd></dl>

</div>
</div>
<a id="a8aebeb48e69f651e9013df7f3d02c4a5" name="a8aebeb48e69f651e9013df7f3d02c4a5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8aebeb48e69f651e9013df7f3d02c4a5">&#9670;&#160;</a></span>retrieveArticleBody() <span class="overload">[1/5]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.nntp.NNTPClient.retrieveArticleBody </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>与retrieveArticleBody("")相同 </p>
<dl class="section return"><dt>返回</dt><dd>一个可以读取文章正文的DotTerminatedMessageReader实例。如果文章不存在，则为None。 </dd></dl>

</div>
</div>
<a id="af8b6f77be10bcbd5db4805fd68592c32" name="af8b6f77be10bcbd5db4805fd68592c32"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af8b6f77be10bcbd5db4805fd68592c32">&#9670;&#160;</a></span>retrieveArticleBody() <span class="overload">[2/5]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.nntp.NNTPClient.retrieveArticleBody </td>
          <td>(</td>
          <td class="paramname"><em>articleId</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>与retrieveArticleBody(articleId, None)相同 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">articleId</td><td>要获取的文章id </td></tr>
    <tr><td class="paramname">pointer</td><td>用于返回文章的编号和id信息。articleId字段并不总是可信的，因为有些服务器响应格式与RFC 977有所偏差。如果你不需要返回文章信息，可以将该参数设为None。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>一个可以读取文章正文的DotTerminatedMessageReader实例。如果文章不存在，则为None。 </dd></dl>

</div>
</div>
<a id="afaf7b6633900f6e30cc9b4b2995e4f2e" name="afaf7b6633900f6e30cc9b4b2995e4f2e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afaf7b6633900f6e30cc9b4b2995e4f2e">&#9670;&#160;</a></span>retrieveArticleBody() <span class="overload">[3/5]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.nntp.NNTPClient.retrieveArticleBody </td>
          <td>(</td>
          <td class="paramname"><em>articleId</em>:&#160;</td>
          <td class="paramtype">String, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>pointer</em>:&#160;</td>
          <td class="paramtype">?ArticleInfo&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>从NNTP服务器获取文章正文。文章由其唯一的文章标识符（包括括起来的&amp;lt；和&amp;gt；）引用。 </p>
<p>服务器响应中包含的文章编号和id通过ArticleInfo返回。<br  />
 ArticleInfo的＜code＞articleId＜/code＞字段不总是可信的，因为某些NNTP服务器没有正确遵循RFC 977回复格式。<br  />
 返回一个可以从中读取文章的DotTerminatedMessageReader实例。如果文章不存在，则返回None。<br  />
 在从返回的Reader中读取完消息之前，不得向NNTP服务器发出任何命令（即调用任何其他方法）。<br  />
 NNTP协议使用与返回结果相同的流来发送命令。因此，返回的Reader实际上直接从NNTP连接读取信息。到达消息末尾后，可以执行新命令并读取它们的回复。如果没有遵循这些要求，您的程序将无法正常工作。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">articleId</td><td>要获取的文章id </td></tr>
    <tr><td class="paramname">pointer</td><td>用于返回文章的编号和id信息。articleId字段并不总是可信的，因为有些服务器响应格式与RFC 977有所偏差。如果你不需要返回文章信息，可以将该参数设为None。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>一个可以读取文章正文的DotTerminatedMessageReader实例。如果文章不存在，则为None。 </dd></dl>

</div>
</div>
<a id="a7f49682c0f8a8a020efd7ee5e56d266e" name="a7f49682c0f8a8a020efd7ee5e56d266e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7f49682c0f8a8a020efd7ee5e56d266e">&#9670;&#160;</a></span>retrieveArticleBody() <span class="overload">[4/5]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.nntp.NNTPClient.retrieveArticleBody </td>
          <td>(</td>
          <td class="paramname"><em>articleNumber</em>:&#160;</td>
          <td class="paramtype">Int64</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>与retrieveArticleBody(articleNumber, None)相同 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">articleNumber</td><td>要获取的文章编号 </td></tr>
    <tr><td class="paramname">pointer</td><td>用于返回文章的编号和id信息。articleId字段并不总是可信的，因为有些服务器响应格式与RFC 977有所偏差。如果你不需要返回文章信息，可以将该参数设为None。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>一个可以读取文章正文的DotTerminatedMessageReader实例。如果文章不存在，则为None。 </dd></dl>

</div>
</div>
<a id="ae886b5d68345556fdca859419cbb1951" name="ae886b5d68345556fdca859419cbb1951"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae886b5d68345556fdca859419cbb1951">&#9670;&#160;</a></span>retrieveArticleBody() <span class="overload">[5/5]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.nntp.NNTPClient.retrieveArticleBody </td>
          <td>(</td>
          <td class="paramname"><em>articleNumber</em>:&#160;</td>
          <td class="paramtype">Int64, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>pointer</em>:&#160;</td>
          <td class="paramtype">?ArticleInfo&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>从NNTP服务器获取文章正文。文章由其编号引用。服务器响应中包含的文章编号和id通过ArticleInfo返回。 </p>
<p>ArticleInfo的＜code＞articleId＜/code＞字段不总是可信的，因为某些NNTP服务器没有正确遵循RFC 977回复格式。<br  />
 返回一个可以从中读取文章的DotTerminatedMessageReader实例。如果文章不存在，则返回None。<br  />
 在从返回的Reader中读取完消息之前，不得向NNTP服务器发出任何命令（即调用任何其他方法）。<br  />
 NNTP协议使用与返回结果相同的流来发送命令。因此，返回的Reader实际上直接从NNTP连接读取信息。到达消息末尾后，可以执行新命令并读取它们的回复。如果没有遵循这些要求，您的程序将无法正常工作。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">articleNumber</td><td>要获取的文章编号 </td></tr>
    <tr><td class="paramname">pointer</td><td>用于返回文章的编号和id信息。articleId字段并不总是可信的，因为有些服务器响应格式与RFC 977有所偏差。如果你不需要返回文章信息，可以将该参数设为None。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>一个可以读取文章正文的DotTerminatedMessageReader实例。如果文章不存在，则为None。 </dd></dl>

</div>
</div>
<a id="a52bb68f343c0293312378d167396fd4b" name="a52bb68f343c0293312378d167396fd4b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a52bb68f343c0293312378d167396fd4b">&#9670;&#160;</a></span>retrieveArticleHeader() <span class="overload">[1/5]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.nntp.NNTPClient.retrieveArticleHeader </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>与retrieveArticleHeader("")相同 </p>
<dl class="section return"><dt>返回</dt><dd>一个可以读取文章头的DotTerminatedMessageReader实例。如果文章不存在，则为None。 </dd></dl>

</div>
</div>
<a id="a4035914fb3c871a8d1d23c9d57ecf0c8" name="a4035914fb3c871a8d1d23c9d57ecf0c8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4035914fb3c871a8d1d23c9d57ecf0c8">&#9670;&#160;</a></span>retrieveArticleHeader() <span class="overload">[2/5]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.nntp.NNTPClient.retrieveArticleHeader </td>
          <td>(</td>
          <td class="paramname"><em>articleId</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>与retrieveArticleHeader(articleId, None)相同 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">articleId</td><td>要获取的文章id </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>一个可以读取文章头的DotTerminatedMessageReader实例。如果文章不存在，则为None。 </dd></dl>

</div>
</div>
<a id="a0c8c6598587cd8dfb08efc3c26387c66" name="a0c8c6598587cd8dfb08efc3c26387c66"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0c8c6598587cd8dfb08efc3c26387c66">&#9670;&#160;</a></span>retrieveArticleHeader() <span class="overload">[3/5]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.nntp.NNTPClient.retrieveArticleHeader </td>
          <td>(</td>
          <td class="paramname"><em>articleId</em>:&#160;</td>
          <td class="paramtype">String, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>pointer</em>:&#160;</td>
          <td class="paramtype">?ArticleInfo&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>从NNTP服务器获取文章头。文章由其唯一的文章标识符（包括括起来的&amp;lt；和&amp;gt；）引用。服务器响应中包含的文章编号和id通过ArticleInfo返回。 </p>
<p>ArticleInfo的＜code＞articleId＜/code＞字段不总是可信的，因为某些NNTP服务器没有正确遵循RFC 977回复格式。<br  />
 返回一个可以从中读取文章的DotTerminatedMessageReader实例。如果文章不存在，则返回None。<br  />
 在从返回的Reader中读取完消息之前，不得向NNTP服务器发出任何命令（即调用任何其他方法）。<br  />
 NNTP协议使用与返回结果相同的流来发送命令。因此，返回的Reader实际上直接从NNTP连接读取信息。到达消息末尾后，可以执行新命令并读取它们的回复。如果没有遵循这些要求，您的程序将无法正常工作。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">articleId</td><td>要获取的文章id </td></tr>
    <tr><td class="paramname">pointer</td><td>用于返回文章的编号和id信息。articleId字段并不总是可信的，因为有些服务器响应格式与RFC 977有所偏差。如果你不需要返回文章信息，可以将该参数设为None。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>一个可以读取文章头的DotTerminatedMessageReader实例。如果文章不存在，则为None。 </dd></dl>

</div>
</div>
<a id="a08be57cd00288d888f9a1b769d3c532b" name="a08be57cd00288d888f9a1b769d3c532b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a08be57cd00288d888f9a1b769d3c532b">&#9670;&#160;</a></span>retrieveArticleHeader() <span class="overload">[4/5]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.nntp.NNTPClient.retrieveArticleHeader </td>
          <td>(</td>
          <td class="paramname"><em>articleNumber</em>:&#160;</td>
          <td class="paramtype">Int64</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>与retrieveArticleHeader(articleNumber, None)相同 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">articleNumber</td><td>要获取的文章编号 </td></tr>
    <tr><td class="paramname">pointer</td><td>用于返回文章的编号和id信息。articleId字段并不总是可信的，因为有些服务器响应格式与RFC 977有所偏差。如果你不需要返回文章信息，可以将该参数设为None。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>一个可以读取文章头的DotTerminatedMessageReader实例。如果文章不存在，则为None。 </dd></dl>

</div>
</div>
<a id="a8dbc31d0351d9368f1ca475f71f5bef2" name="a8dbc31d0351d9368f1ca475f71f5bef2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8dbc31d0351d9368f1ca475f71f5bef2">&#9670;&#160;</a></span>retrieveArticleHeader() <span class="overload">[5/5]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.nntp.NNTPClient.retrieveArticleHeader </td>
          <td>(</td>
          <td class="paramname"><em>articleNumber</em>:&#160;</td>
          <td class="paramtype">Int64, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>pointer</em>:&#160;</td>
          <td class="paramtype">?ArticleInfo&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>从NNTP服务器获取文章头。文章由其编号引用。服务器响应中包含的文章编号和id通过ArticleInfo返回。 </p>
<p>ArticleInfo的＜code＞articleId＜/code＞字段不总是可信的，因为某些NNTP服务器没有正确遵循RFC 977回复格式。<br  />
 返回一个可以从中读取文章的DotTerminatedMessageReader实例。如果文章不存在，则返回None。<br  />
 在从返回的Reader中读取完消息之前，不得向NNTP服务器发出任何命令（即调用任何其他方法）。<br  />
 NNTP协议使用与返回结果相同的流来发送命令。因此，返回的Reader实际上直接从NNTP连接读取信息。到达消息末尾后，可以执行新命令并读取它们的回复。如果没有遵循这些要求，您的程序将无法正常工作。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">articleNumber</td><td>要获取的文章编号 </td></tr>
    <tr><td class="paramname">pointer</td><td>用于返回文章的编号和id信息。articleId字段并不总是可信的，因为有些服务器响应格式与RFC 977有所偏差。如果你不需要返回文章信息，可以将该参数设为None。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>一个可以读取文章头的DotTerminatedMessageReader实例。如果文章不存在，则为None。 </dd></dl>

</div>
</div>
<a id="a286f846ea7d8cdebcb8720c6d6f7a2ad" name="a286f846ea7d8cdebcb8720c6d6f7a2ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a286f846ea7d8cdebcb8720c6d6f7a2ad">&#9670;&#160;</a></span>retrieveArticleInfo() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.nntp.NNTPClient.retrieveArticleInfo </td>
          <td>(</td>
          <td class="paramname"><em>articleNumber</em>:&#160;</td>
          <td class="paramtype">Int64</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取指定文章的文章头信息。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">articleNumber</td><td>要检索标题的文章编号 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>如果成功，返回一个DotTerminatedMessageReader，否则为None </dd></dl>

</div>
</div>
<a id="a609a21bf8d0fabe9da1b083481981a72" name="a609a21bf8d0fabe9da1b083481981a72"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a609a21bf8d0fabe9da1b083481981a72">&#9670;&#160;</a></span>retrieveArticleInfo() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">private func commonsNet.nntp.NNTPClient.retrieveArticleInfo </td>
          <td>(</td>
          <td class="paramname"><em>articleRange</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td>: ?<a class="el" href="classcommonsNet_1_1io_1_1DotTerminatedMessageReader.html">DotTerminatedMessageReader</a>&lt;StreamingSocket&gt; </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>XOVER功能的私有实现。 </p>
<p>请参阅｛<a class="el" href="">2980了解合法的声明格式。  articleRange 范围  如果成功，返回一个DotTerminatedMessageReader，否则为None </a></p>

</div>
</div>
<a id="a590c447ff6a75024451ee399651ceb6e" name="a590c447ff6a75024451ee399651ceb6e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a590c447ff6a75024451ee399651ceb6e">&#9670;&#160;</a></span>retrieveArticleInfo() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.nntp.NNTPClient.retrieveArticleInfo </td>
          <td>(</td>
          <td class="paramname"><em>lowArticleNumber</em>:&#160;</td>
          <td class="paramtype">Int64, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>highArticleNumber</em>:&#160;</td>
          <td class="paramtype">Int64&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取lowArticleNumber和highArticleNumber之间（包括）所有文章的头信息。使用XOVER命令。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">lowArticleNumber</td><td>低编号 </td></tr>
    <tr><td class="paramname">highArticleNumber</td><td>高编号 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>如果成功，返回一个DotTerminatedMessageReader，否则为None </dd></dl>

</div>
</div>
<a id="aeb8f56dfca7a2853bf716c309842da91" name="aeb8f56dfca7a2853bf716c309842da91"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeb8f56dfca7a2853bf716c309842da91">&#9670;&#160;</a></span>retrieveHeader() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.nntp.NNTPClient.retrieveHeader </td>
          <td>(</td>
          <td class="paramname"><em>header</em>:&#160;</td>
          <td class="paramtype">String, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>articleNumber</em>:&#160;</td>
          <td class="paramtype">Int64&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回指定文章标头。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">header</td><td>要检索的标头 </td></tr>
    <tr><td class="paramname">articleNumber</td><td>要检索标题的文章编号 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>如果成功，返回一个DotTerminatedMessageReader，否则为None </dd></dl>

</div>
</div>
<a id="a48be938cb551404001d2b93aa153a587" name="a48be938cb551404001d2b93aa153a587"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a48be938cb551404001d2b93aa153a587">&#9670;&#160;</a></span>retrieveHeader() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">private func commonsNet.nntp.NNTPClient.retrieveHeader </td>
          <td>(</td>
          <td class="paramname"><em>header</em>:&#160;</td>
          <td class="paramtype">String, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>articleRange</em>:&#160;</td>
          <td class="paramtype">String&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>: ?<a class="el" href="classcommonsNet_1_1io_1_1DotTerminatedMessageReader.html">DotTerminatedMessageReader</a>&lt;StreamingSocket&gt; </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>XHDR功能的私有实现。 有关合法参数格式，请参阅｛<a class="el" href="">1036。 </a></p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">header</td><td>要检索的标头 </td></tr>
    <tr><td class="paramname">articleRange</td><td>文章范围 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>如果成功，返回一个DotTerminatedMessageReader，否则为None </dd></dl>

</div>
</div>
<a id="a95a24110f87b56a325e3e182785c69bf" name="a95a24110f87b56a325e3e182785c69bf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a95a24110f87b56a325e3e182785c69bf">&#9670;&#160;</a></span>retrieveHeader() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.nntp.NNTPClient.retrieveHeader </td>
          <td>(</td>
          <td class="paramname"><em>header</em>:&#160;</td>
          <td class="paramtype">String, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>lowArticleNumber</em>:&#160;</td>
          <td class="paramtype">Int64, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>highArticleNumber</em>:&#160;</td>
          <td class="paramtype">Int64&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取lowArticleNumber和highArticleNumber之间（包括）所有文章的指定文章标头。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">lowArticleNumber</td><td>低编号 </td></tr>
    <tr><td class="paramname">highArticleNumber</td><td>高编号 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>如果成功，返回一个DotTerminatedMessageReader，否则为None </dd></dl>

</div>
</div>
<a id="a82b649fbd0de6f6ca2c2bf1a42877de6" name="a82b649fbd0de6f6ca2c2bf1a42877de6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a82b649fbd0de6f6ca2c2bf1a42877de6">&#9670;&#160;</a></span>selectArticle() <span class="overload">[1/5]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.nntp.NNTPClient.selectArticle </td>
          <td>(</td>
          <td class="paramname"><em>articleId</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td>: Bool </td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a6678e562baa041e588fa20f1c090c790" name="a6678e562baa041e588fa20f1c090c790"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6678e562baa041e588fa20f1c090c790">&#9670;&#160;</a></span>selectArticle() <span class="overload">[2/5]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.nntp.NNTPClient.selectArticle </td>
          <td>(</td>
          <td class="paramname"><em>articleId</em>:&#160;</td>
          <td class="paramtype">String, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>pointer</em>:&#160;</td>
          <td class="paramtype">?ArticleInfo&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>: Bool </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>通过唯一标识符（包括括起来的&amp;lt；和&amp;gt；）选择文章。并通过pointer参数返回其文章编号和id。通过STAT命令实现。 </p>
<p>根据RFC 977，这将不会在服务器上设置当前文章指针。要做到这一点，您必须使用文章的编号。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">articleId</td><td>要选择的文章的唯一项目标识符。如果此参数为空，则当前文章的正文被选中。 </td></tr>
    <tr><td class="paramname">pointer</td><td>用于返回文章的编号和id信息。articleId字段并不总是可信的，因为有些服务器响应格式与RFC 977有所偏差。如果你不需要返回文章信息，可以将该参数设为None。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功返回true，否则返回false。 </dd></dl>

</div>
</div>
<a id="a68dfd2b6f10de7c48950d6ccb3a6ab4f" name="a68dfd2b6f10de7c48950d6ccb3a6ab4f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a68dfd2b6f10de7c48950d6ccb3a6ab4f">&#9670;&#160;</a></span>selectArticle() <span class="overload">[3/5]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.nntp.NNTPClient.selectArticle </td>
          <td>(</td>
          <td class="paramname"><em>articleNumber</em>:&#160;</td>
          <td class="paramtype">Int64</td><td>)</td>
          <td>: Bool </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>与<code>selectArticle(articleNumber, None)</code>相同。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">articleNumber</td><td>要从当前选定的新闻组中选择的文章的编号。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功返回true，否则返回false。 </dd></dl>

</div>
</div>
<a id="acd94c4791c3bf4a9c20da0ee8510c4b1" name="acd94c4791c3bf4a9c20da0ee8510c4b1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acd94c4791c3bf4a9c20da0ee8510c4b1">&#9670;&#160;</a></span>selectArticle() <span class="overload">[4/5]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.nntp.NNTPClient.selectArticle </td>
          <td>(</td>
          <td class="paramname"><em>articleNumber</em>:&#160;</td>
          <td class="paramtype">Int64, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>pointer</em>:&#160;</td>
          <td class="paramtype">?ArticleInfo&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>: Bool </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>在当前选定的新闻组中按编号选择一篇文章。并通过pointer参数返回其文章编号和id。通过STAT命令实现。 </p>
<p>根据RFC 977，这将在服务器上设置当前文章指针。在获取文章内容或者获取指定编号的文章的唯一标识符之前使用此命令选择它。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">articleNumber</td><td>要从当前选定的新闻组中选择的文章的编号。 </td></tr>
    <tr><td class="paramname">pointer</td><td>用于返回文章的编号和id信息。articleId字段并不总是可信的，因为有些服务器响应格式与RFC 977有所偏差。如果你不需要返回文章信息，可以将该参数设为None。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功返回true，否则返回false。 </dd></dl>

</div>
</div>
<a id="a045c8410d39eed529eba26eea3dd0c6a" name="a045c8410d39eed529eba26eea3dd0c6a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a045c8410d39eed529eba26eea3dd0c6a">&#9670;&#160;</a></span>selectArticle() <span class="overload">[5/5]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.nntp.NNTPClient.selectArticle </td>
          <td>(</td>
          <td class="paramname"><em>pointer</em>:&#160;</td>
          <td class="paramtype">?ArticleInfo</td><td>)</td>
          <td>: Bool </td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a73b060571a57e8b50aa28fc80c602514" name="a73b060571a57e8b50aa28fc80c602514"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a73b060571a57e8b50aa28fc80c602514">&#9670;&#160;</a></span>selectNewsgroup() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.nntp.NNTPClient.selectNewsgroup </td>
          <td>(</td>
          <td class="paramname"><em>newsgroup</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td>: Bool </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>选择指定的新闻组作为未来文章检索和发布操作的目标。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">newsgroup</td><td>要选择的新闻组 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>如果新闻组存在并且已被选中，则为true，否则为false。 </dd></dl>

</div>
</div>
<a id="a0937ed6cd9edb226b70ca96cc8ee426f" name="a0937ed6cd9edb226b70ca96cc8ee426f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0937ed6cd9edb226b70ca96cc8ee426f">&#9670;&#160;</a></span>selectNewsgroup() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.nntp.NNTPClient.selectNewsgroup </td>
          <td>(</td>
          <td class="paramname"><em>newsgroup</em>:&#160;</td>
          <td class="paramtype">String, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>info</em>:&#160;</td>
          <td class="paramtype">?NewsgroupInfo&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>: Bool </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>选择指定的新闻组作为未来文章检索和发布操作的目标。服务器响应中包含的新闻组信息通过info参数返回。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">newsgroup</td><td>要选择的新闻组 </td></tr>
    <tr><td class="paramname">info</td><td>通过它返回服务器响应中所选新闻组的新闻组信息。如果不需要此信息，则将其设置为None。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>如果新闻组存在并且已被选中，则为true，否则为false。 </dd></dl>

</div>
</div>
<a id="a0f22dcdf6dbe7e042e614cb9ba0b7e08" name="a0f22dcdf6dbe7e042e614cb9ba0b7e08"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0f22dcdf6dbe7e042e614cb9ba0b7e08">&#9670;&#160;</a></span>selectNextArticle() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.nntp.NNTPClient.selectNextArticle </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Bool </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>在当前选定的新闻组中，选择当前选定文章后面的文章。 </p>
<dl class="section return"><dt>返回</dt><dd>成功返回true，否则返回false（例如，后面没有文章）。 </dd></dl>

</div>
</div>
<a id="a12df4f3b67a2cf20237318a19516bc02" name="a12df4f3b67a2cf20237318a19516bc02"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a12df4f3b67a2cf20237318a19516bc02">&#9670;&#160;</a></span>selectNextArticle() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.nntp.NNTPClient.selectNextArticle </td>
          <td>(</td>
          <td class="paramname"><em>pointer</em>:&#160;</td>
          <td class="paramtype">?ArticleInfo</td><td>)</td>
          <td>: Bool </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>在当前选定的新闻组中，选择当前选定文章后面的文章，并通过pointer参数返回其编号和唯一id。由于服务器的不同实现，articleId信息不总是可信。 </p>
<p>要获取文章标识符，在随后使用selectArticle(pointer.articleNumber, pointer)。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">pointer</td><td>用于返回文章的编号和id信息。articleId字段并不总是可信的，因为有些服务器响应格式与RFC 977有所偏差。如果你不需要返回文章信息，可以将该参数设为None。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功返回true，否则返回false（例如，后面没有文章）。 </dd></dl>

</div>
</div>
<a id="a576f78c0c8270974818ec0dea50db898" name="a576f78c0c8270974818ec0dea50db898"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a576f78c0c8270974818ec0dea50db898">&#9670;&#160;</a></span>selectPreviousArticle() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.nntp.NNTPClient.selectPreviousArticle </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Bool </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>在当前选定的新闻组中，选择当前选定文章前面的文章。 </p>
<dl class="section return"><dt>返回</dt><dd>成功返回true，否则返回false（例如，前面没有文章）。 </dd></dl>

</div>
</div>
<a id="a2d301b3ebb15ea4b0878d74aa5e6cf19" name="a2d301b3ebb15ea4b0878d74aa5e6cf19"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2d301b3ebb15ea4b0878d74aa5e6cf19">&#9670;&#160;</a></span>selectPreviousArticle() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.nntp.NNTPClient.selectPreviousArticle </td>
          <td>(</td>
          <td class="paramname"><em>pointer</em>:&#160;</td>
          <td class="paramtype">?ArticleInfo</td><td>)</td>
          <td>: Bool </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>在当前选定的新闻组中，选择当前选定文章前面的文章，并通过pointer参数返回其编号和唯一id。由于服务器的不同实现，articleId信息不总是可信。 </p>
<p>要获取文章标识符，在随后使用selectArticle(pointer.articleNumber, pointer)。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">pointer</td><td>用于返回文章的编号和id信息。articleId字段并不总是可信的，因为有些服务器响应格式与RFC 977有所偏差。如果你不需要返回文章信息，可以将该参数设为None。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功返回true，否则返回false（例如，前面没有文章）。 </dd></dl>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>src/nntp/<a class="el" href="nntp__client_8cj.html">nntp_client.cj</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.9.6-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespacecommonsNet.html">commonsNet</a></li><li class="navelem"><a class="el" href="namespacecommonsNet_1_1nntp.html">nntp</a></li><li class="navelem"><a class="el" href="classcommonsNet_1_1nntp_1_1NNTPClient.html">NNTPClient</a></li>
    <li class="footer">制作者 <img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6 </li>
  </ul>
</div>
</body>
</html>
